android / app-bundle-samples

Multiple samples showing the best practices in app bundles on Android.
Apache License 2.0
698 stars 332 forks source link

Resource Not Found error after close and relaunch the app #109

Open VincentAP opened 3 years ago

VincentAP commented 3 years ago

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).

keyboardsurfer commented 3 years ago

Can you please share the logs you're seeing as the application crashes with us?