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
You need to change dependency to:
The Issue has been fixed in the latest Audience Network.
You need to update this dependency in
build.gradle
it will automatically get the latest one.
The problem is due to the fact that Facebook updated version 4.12.0 of the Audience Network SDK that's in the Maven Repository and ended up introducing this problem, it's unrelated to you updating the version of Android Studio you're using. I started seeing this error yesterday and I checked today and found that on maven.org the "Updated" date for audience-network-sdk has changed to 20-May-2016.
there is some problem with Maven Repository you have 2 options either you can manually download facebook sdk or change back to older version of audience network
currently sdk version 4.11 works fine