When I build my Android Studio app, I got an error "Could not find android.arch.navigation:navigation-fragment-ktx:2.3.5". But I have implemented "android.arch.navigation:navigation-fragment-ktx:2.3.5". The error appeared after updating gradle.
Here is whole error:
I solved this by downgrading the gradle plugin to 4.1.3
in build.graddle project level:
From this:
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0'
}
to this:
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With