Closed sinarahimpoor closed 6 years ago
i want to add repository to android studio 1) allprojects { repositories { jcenter() google() maven { url 'https://jitpack.io' } } } 2)
allprojects { repositories { jcenter() google() maven { url 'https://jitpack.io' } } }
dependencies { implementation 'com.github.yeriomin:play-store-api:0.42' }
but when i sync project get following error!!!
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42 Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42 Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42 Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42 Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42
Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42
Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42
fixed
i want to add repository to android studio 1)
allprojects { repositories { jcenter() google() maven { url 'https://jitpack.io' } } }
2)but when i sync project get following error!!!