udacity / andfun-kotlin-android-trivia

Other
197 stars 481 forks source link

Gradle sync failure. Could not find androidx.navigation:navigation-safe-args-gradle-plugin:1.0.0-alpha07. #24

Closed njwarfield closed 4 years ago

njwarfield commented 4 years ago

Cloned the repository. On sync the following occurs:

Could not find androidx.navigation:navigation-safe-args-gradle-plugin:1.0.0-alpha07. Searched in the following locations:

image

crayonwriter commented 4 years ago

Try adding this to the dependencies in the build.gradle:

def nav_version = "2.3.0-alpha01" classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"

njwarfield commented 4 years ago

Thanks. Updating to that version I was able to successfully sync. I'm hoping everything works correctly with a major version change.