I am new to Android Studio and I am trying to use the latest navigation version which I believe is 2.3.0. However, after adding it to the dependencies in the gradle file I still seem to get an error that it could not find the classpath. Any tips? Here are some screenshots:
You are using:
classpath "android.arch.navigation:navigation-safe-args-gradle-plugin:$nav_version"
It was the 1st release and the latest version is 1.0.0
With androidx migration you have to use:
def nav_version = "2.3.0"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
More info in the official doc.