How to Resolve Dependency for ':App@Debug/Compileclasspath': Could Not Resolve Com.Android.Support:Appcompat-V7:26.1.0

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:26.1.0

Go to File->Other Settings->Default Settings->Build, Execution, Deployment->Build Tools->Gradle->Uncheck Offline work option.

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:design:26.1.0

Unable to resolve dependency for :app@debugAndroidTest/compileClasspath': Could not resolve com.android.support:design:26.1.0 This issue usually happens when the Android Studio is not able to download that dependency.That can be due to many reasons like this Or like in my case where the Maven2 and jcenter repositories are blocked in Company. So what can you do is like check this folder

Android-sdk\extras\android\m2repository\com\android\support\appcompat-v7

and check which all versions are available to you in the SDK, use either one of those versions ,So instead of downloading from repository studio will take that lib from SDK.



Related Topics



Leave a reply



Submit