The issue occurs when the API host is for any reason unreachable, or the config is not found at the time, the app crashes when inflating MainActivity layout with the FragmentContainerView.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example/com.example.activities.MainActivity}: android.view.InflateException: Binary XML file line #47 in com.example:layout/activity_main: Binary XML file line #47 in com.example:layout/activity_main: Error inflating class androidx.fragment.app.FragmentContainerView
Caused by: android.view.InflateException: Binary XML file line #47 in com.example:layout/activity_main: Binary XML file line #47 in com.example:layout/activity_main: Error inflating class androidx.fragment.app.FragmentContainerView
Caused by: android.view.InflateException: Binary XML file line #47 in com.example:layout/activity_main: Error inflating class androidx.fragment.app.FragmentContainerView
Caused by: java.lang.IllegalArgumentException: A start Fragment destination was not found for uri: turbo://fragment/web
Hey,
we are extending
TurboSessionNavHostFragment
in our app, and we are overridingpathConfigurationLocation
as follows.The issue occurs when the API host is for any reason unreachable, or the config is not found at the time, the app crashes when inflating MainActivity layout with the
FragmentContainerView
.Important things from a LogCat: