android / android/app-bundle-samples
Resource Not Found error after close and relaunch the app
- Dominant language
- C++
- Stars
- 735
- Forks
- 348
- PR merge metrics
- No merged PRs in 30d
Description
I am using include-dynamic tag in my main_navigation.xml for dynamic-feature module. After i downloaded the uploaded .aab from play store for internal testing, the first time i launched the app all works perfectly (open a fragment from the DFM, then close the fragment and reopen the fragment and so on). But after i close the app and relaunched it, everytime i try to reopen the fragment from DFM, the app crash with Resource Not Found error for the destination of the navigation graph inside the DFM. I don't understand how could this happened. I mean, the first time of installation it works just fine, but after close and relaunch the app, it keeps crashing. Please help. (Sorry for my bad english).
Contributor guide
Research direction
Start by reproducing the crash after closing and relaunching the app, then inspect main_navigation.xml, the dynamic-feature module, and the destination navigation graph inside the DFM. Compare resource availability on the first launch with the relaunch case. Done means the DFM fragment can be reopened after relaunch without a Resource Not Found crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100