After upgrading Android Studio to Fox version, Gradle from 4.1.3 to 7.0.0 or even 4.2.+, and distributionUrl to gradle-7.0.1-bin.zip, I couldn’t build my app anymore.
This is the error log:
* What went wrong:
Execution failed for task ':onboarding:dataBindingMergeDependencyArtifactsDebugMobDebug'.
> Could not resolve all files for configuration ':onboarding:debugMobDebugCompileClasspath'.
> Could not resolve android.arch.navigation:navigation-ui-ktx:2.3.5.
Required by:
project :onboarding
> Skipped due to earlier error
It seems Gradle couldn't download NavigationKTX version 2.3.5. The solution is downgrading but How to fix the issue without downgrading to Gradle version 4.1.+
I wanna use jetpack compose in my application so I need to update gradle to 4.2.+.
from Gradle 4.2.+ Could not resolve navigation-ui-ktx:2.3.5
No comments:
Post a Comment