In which task and step of the codelab can this issue be found?
kotlin.UninitializedPropertyAccessException: lateinit property navController has not been initialized
Step 3: Implement the Up button behavior
Describe the problem
going back to the previous activity gives out the error
Steps to reproduce?
Run the app
Click on any button
Click on the back button
It goes to crash
VersionsAndroid Studio version: Android Studio Electric Eel | 2022.1.1
API version of the emulator: 33
Additional informationInclude screenshots if they would be useful in clarifying the problem.
[URL of codelab] https://developer.android.com/codelabs/basic-android-kotlin-training-navigation-backstack?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-4%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-navigation-backstack#5
In which task and step of the codelab can this issue be found? kotlin.UninitializedPropertyAccessException: lateinit property navController has not been initialized Step 3: Implement the Up button behavior
Describe the problem going back to the previous activity gives out the error
Steps to reproduce?
Versions Android Studio version: Android Studio Electric Eel | 2022.1.1 API version of the emulator: 33
Additional information Include screenshots if they would be useful in clarifying the problem.