You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make the test code succeed as in the codelab, end branch needs to add the following dependency in the build.gradle: androidTestImplementation "androidx.navigation:navigation-testing:$rootProject.composeNavigationVersion".
To make the test code succeed as in the codelab, end branch needs to add the following dependency in the build.gradle: androidTestImplementation "androidx.navigation:navigation-testing:$rootProject.composeNavigationVersion".
Otherwise, the following error will occur:
e: file:///Users/yijihun/AndroidStudioProjects/codelab-android-compose/NavigationCodelab/app/src/androidTest/java/com/example/compose/rally/NavigationTest.kt:26:28 Unresolved reference: testing
'e: file:///Users/username/AndroidStudioProjects/codelab-android-compose/NavigationCodelab/app/src/androidTest/java/com/example/compose/rally/NavigationTest.kt:36:33 Unresolved reference: TestNavHostController'.
e: file:///Users/yijihun/AndroidStudioProjects/codelab-android-compose/NavigationCodelab/app/src/androidTest/java/com/example/compose/rally/NavigationTest.kt:42:29 Unresolved reference: TestNavHostController
The text was updated successfully, but these errors were encountered: