error
Title
Question
Unable to resolve dependency for ':app@debug/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:31.+.
Open File
Show Details
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:31.+.
Open File
Show Details
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:31.+.
Open File
Show Details
Unable to resolve dependency for ':app@release/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:31.+.
Open File
Show Details
Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:31.+.
Open File
Show Details
Android-app-using-Kotlin Getting-started-with-Hello-World-app 03-04 min 40-50 sec
Answers:
Click on the File menu in the menu bar and Select Invalidate Caches/ Restart menu.
Close the project and open it again. Build the project one more time.
The below link might help you:
https://stackoverflow.com/questions/46999594/unable-to-resolve-dependency-for-appdebug-compileclasspath-could-not-resolv/48092108
Login to add comment