Getting below error for facebook-audience-network
Error:A problem occurred configuring project ':app'.
Could not resolve all dependencies for configuration ':app:_debugCompile'.
Could not find ads:AdQuality:unspecified.
Searched in the following locations:
https://jcenter.bintray.com/ads/AdQuality/unspecified/AdQuality-unspecified.pom
https://jcenter.bintray.com/ads/AdQuality/unspecified/AdQuality-unspecified.jar
file:/Users/jaydonga/Library/Android/sdk/extras/android/m2repository/ads/AdQuality/unspecified/AdQuality-unspecified.pom
file:/Users/jaydonga/Library/Android/sdk/extras/android/m2repository/ads/AdQuality/unspecified/AdQuality-unspecified.jar
file:/Users/jaydonga/Library/Android/sdk/extras/google/m2repository/ads/AdQuality/unspecified/AdQuality-unspecified.pom
file:/Users/jaydonga/Library/Android/sdk/extras/google/m2repository/ads/AdQuality/unspecified/AdQuality-unspecified.jar
Required by:
Ganesha:app:unspecified > com.facebook.android:audience-network-sdk:4.12.0
Related
The google-services plugin currently is not resolving in my project. I get the error:
What went wrong: A problem occurred configuring root project ''.
> Could not resolve all files for configuration ':classpath'.
> Could not find com.google.gms:google-services:4.0.2.
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.2/google-services-4.0.2.pom
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.2/google-services-4.0.2.jar
https://jcenter.bintray.com/com/google/gms/google-services/4.0.2/google-services-4.0.2.pom
https://jcenter.bintray.com/com/google/gms/google-services/4.0.2/google-services-4.0.2.jar
https://maven.fabric.io/public/com/google/gms/google-services/4.0.2/google-services-4.0.2.pom
https://maven.fabric.io/public/com/google/gms/google-services/4.0.2/google-services-4.0.2.jar
Required by:
project :
When I browse the google maven repo here: https://dl.google.com/dl/android/maven2/index.html
the google-services library is just missing.
while I installed android studio I faced so many errors! the last one is in building the project and I got this error I don't know how to fix it:
Error:A problem occurred configuring project ':app'.
Could not resolve all dependencies for configuration ':app:_debugAndroidTestApkCopy'.
Could not resolve org.hamcrest:hamcrest-library:1.3.
Required by:
MyApplication:app:unspecified > com.android.support.test.espresso:espresso-core:2.2.2
Could not resolve org.hamcrest:hamcrest-library:1.3.
Could not get resource 'https: //jcenter.bintray.com/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.pom'.
Could not GET 'https: //jcenter.bintray.com/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.pom'.
jcenter.bintray.com
Could not resolve org.hamcrest:hamcrest-integration:1.3.
Required by:
MyApplication:app:unspecified > com.android.support.test.espresso:espresso-core:2.2.2
Could not resolve org.hamcrest:hamcrest-integration:1.3.
Could not get resource 'https://jcenter.bintray.com/org/hamcrest/hamcrest-integration/1.3/hamcrest-integration-1.3.pom'.
Could not GET 'https: //jcenter.bintray.com/org/hamcrest/hamcrest-integration/1.3/hamcrest-integration-1.3.pom'.
jcenter.bintray.com
When I run Studio, Grade Build shows the error message like this
Error:A problem occurred configuring project ':tiangua'.
Could not resolve all dependencies for configuration ':tiangua:_debugCompile'.
Could not find any version that matches com.github.mmin18.layoutcast:library:1.+.
Searched in the following locations:
file:/E:/android/adt/sdk/extras/android/m2repository/com/github/mmin18/layoutcast/library/maven-metadata.xml
file:/E:/android/adt/sdk/extras/android/m2repository/com/github/mmin18/layoutcast/library/
Required by:
code:tiangua:unspecified
I'm using Android Studio version 1.4 and stuck at "Gradle: resolve dependencies ':app:_releaseCompile'"
I think it cause by proxy (I don't have access to proxy) so i want to know how to download gradle maunally
I've tried all method that I found changing properties file, edit parameters but won't work anyway.
Error log:
Error:A problem occurred configuring project ':app'.
>Could not resolve all dependencies for configuration ':app:_debugUnitTestCompile'.
> Could not resolve junit:junit:4.12.
Required by:
prototype1:app:unspecified
> Could not resolve junit:junit:4.12.
> Could not get resource 'jcenter.bintray.com/junit/junit/4.12/junit-4.12.pom'.
> Could not GET 'jcenter.bintray.com/junit/junit/4.12/junit-4.12.pom'.
> Connection to jcenter.bintray.com refused
Error:(25) A problem occurred evaluating root project 'Side-Menu.Android-master'.
Failed to apply plugin [id 'android-reporting']
A problem occurred configuring project ':app'.
> A problem occurred configuring project ':library'.
> Could not resolve all dependencies for configuration ':library:_debugCompile'.
> Could not find com.android.support:appcompat-v7:21.0.3.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/appcompat-v7/21.0.3/appcompat-v7-21.0.3.pom
https://jcenter.bintray.com/com/android/support/appcompat-v7/21.0.3/appcompat-v7-21.0.3.jar
Required by:
com.yalantis:library:1.0
first time to use android studio and met the problem with this, help me !