作者热门文章
- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我已经更新了 Android Studio 并刚刚打开我的项目,但出现以下错误。你能告诉我如何解决这个问题吗?
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
最佳答案
您需要将依赖项更改为:
dependencies {
...
compile 'com.facebook.android:audience-network-sdk:4.12.0@aar'
}
关于安卓工作室问题 : Could not find ads:AdQuality:unspecified,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37365490/
我是一名优秀的程序员,十分优秀!