ResolutionException: Cannot find candidate artifact for com.google.android.gms:play-services-ads-lite:[10.2.4]
2017-05-27 15:06
645 查看
I had the same issue and I think it's solved now.
Open AdMobDependencies.cs file, located inside of Assets -> GoogleMobileAds -> Editor, with your text editor and find the line in SetupDeps() method:
Google.VersionHandler.InvokeInstanceMethod(svcSupport, "DependOn", new object[] { "com.google.android.gms", "play-services-ads", "LATEST" },
Now change the string "LATEST" to "10.2.1". That worked for me, hope it helps someone.
Open AdMobDependencies.cs file, located inside of Assets -> GoogleMobileAds -> Editor, with your text editor and find the line in SetupDeps() method:
Google.VersionHandler.InvokeInstanceMethod(svcSupport, "DependOn", new object[] { "com.google.android.gms", "play-services-ads", "LATEST" },
Now change the string "LATEST" to "10.2.1". That worked for me, hope it helps someone.
相关文章推荐
- 有关Android Studio的问题Error:Failed to find: com.google.android.gms:play-services:6.1.71
- 接入环信 easeUI 报错 fail to resolve 'com.google.android.gms:play-services-base:11.4.0'
- Androidstudio gradle失败了 更新最新的compile 如com.google.android.gms:play-services-maps:11.4.0
- Error:(75, 13) Failed to resolve: com.google.android.gms:play-services:11.2.0
- Android上的GPS程序报错:Fail to find provider info for com.google.android.gsf.gservices
- Android - Failed to find provider info for com.google.settings in MapView Example
- 运行Android studio报错com.google.android.gms:play-services-appindexing:8.1.0
- Failed to find provider info for com.android.calendar问题排除
- java.lang.SecurityException: Unknown calling package name, com.google.android.gms.common.internal.zz
- Android Bugs——Conflict with dependency 'com.google.code.findbugs:jsr305'. Resolved versions for app
- Could not find any matches for com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+ as no versions处理
- Failed to find provider info for com.google.settings
- android值入广告异常 java.lang.NoClassDefFoundError: com.google.ads.AdView
- 手表端开发遇到的错误 E/WearablePkgInstaller: Failed to add com.. 和Ignoring Google Play Services dependent app:
- Android 快捷方式的创建与查询 快捷方式问题大全 获取快捷方式在Launcher数据库中的信息 Failed to find provider info for com.android.la
- cannot find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
- java.lang.VerifyError: com/google/android/gms/measurement/internal/zzw
- Could not resolve all files for configuration ':classpath'.Could not find com.android.tools.
- 在Android虚拟机中安装GooglePlayServices
- JSF错误:cannot find the tag library descriptor for "http://java.sun.com/jsf/core"