Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio Issue : Could not find ads:AdQuality:unspecified

I have updated the Android studio and just opened my project and I got the following error. Could you please let me know how to resolve this ?

Error:A problem occurred configuring project ':memoryGameCollectionFree'.
> Could not resolve all dependencies for configuration     ':memoryGameCollectionFree:_debugCompile'.
   > Could not find ads:AdQuality:unspecified.
 Searched in the following locations:
     file:/C:/Program Files/Android/Android Studio/gradle/m2repository/ads/AdQuality/unspecified/AdQuality-unspecified.pom
     file:/C:/Program Files/Android/Android Studio/gradle/m2repository/ads/AdQuality/unspecified/AdQuality-unspecified.jar
     https://jcenter.bintray.com/ads/AdQuality/unspecified/AdQuality-unspecified.pom
     https://jcenter.bintray.com/ads/AdQuality/unspecified/AdQuality-unspecified.jar
     https://repo1.maven.org/maven2/ads/AdQuality/unspecified/AdQuality-unspecified.pom
     https://repo1.maven.org/maven2/ads/AdQuality/unspecified/AdQuality-unspecified.jar
     file:/C:/Users/Sudhakar/AppData/Local/Android/sdk/extras/android/m2repository/ads/AdQuality/unspecified/AdQuality-unspecified.pom
     file:/C:/Users/Sudhakar/AppData/Local/Android/sdk/extras/android/m2repository/ads/AdQuality/unspecified/AdQuality-unspecified.jar
     file:/C:/Users/Sudhakar/AppData/Local/Android/sdk/extras/google/m2repository/ads/AdQuality/unspecified/AdQuality-unspecified.pom
     file:/C:/Users/Sudhakar/AppData/Local/Android/sdk/extras/google/m2repository/ads/AdQuality/unspecified/AdQuality-unspecified.jar
 Required by:
     MemoryGameCollectionFree:memoryGameCollectionFree:unspecified > com.facebook.android:audience-network-sdk:4.12.0
like image 792
iappmaker Avatar asked May 21 '16 16:05

iappmaker


1 Answers

You need to change dependency to:

dependencies {
    ...
    compile 'com.facebook.android:audience-network-sdk:4.12.0@aar'
}
like image 86
TGIO Avatar answered Oct 12 '22 23:10

TGIO