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
These lines in the Getting Started instructions cause two build failures when attempting to run the application:
e: file:///path/to/application/MyApplication/app/src/main/java/com/example/myapplication/MainActivity.kt:8:24
Unresolved reference: R
The issue is that the package reference at the top of the file is being removed by the instructions to replace the entire file with the example code.
The fix to the instructions linked above would look something like this:
Finally, open `MainActivity.kt` and replace the class with this code:
// use the namespace of your application as listed in the app-level build.gradle.kts under android / namespace:packagecom.example.myapplicationimportandroid.os.Bundleimportdev.hotwire.navigation.activities.HotwireActivityimportdev.hotwire.navigation.navigator.NavigatorConfiguration
The text was updated successfully, but these errors were encountered:
These lines in the Getting Started instructions cause two build failures when attempting to run the application:
The issue is that the
package
reference at the top of the file is being removed by the instructions to replace the entire file with the example code.The fix to the instructions linked above would look something like this:
The text was updated successfully, but these errors were encountered: