Gab*_*cco 1 unity-game-engine google-play-services google-play-games
我更新谷歌谷歌游戏服务,如下所述:unity插件,但我有以下错误:
Google.JarResolver.ResolutionException:找不到com.google.android.gms的候选工件:play-services-games:8.4+在Google.JarResolver.PlayServicesSupport.DependOn(System.String group,System.String artifact,System.String version) )[0x00000] in:0中的GooglePlayGames.Editor.GPGSDependencies..cctor()[0x00024] /Users/gabriele/Documents/number777pro/number/Number777/Assets/GooglePlayGames/Editor/GPGSDependencies.cs:46 UnityEditor.EditorAssemblies: SetLoadedEditorAssemblies(大会[])
我试图找到一个解决方案,但没有成功,任何人都知道如何解决?
Gab*_*cco 11
它通过更新以下android sdk管理器解决:1.android支持存储库2. Google Play服务3. Google Repository
仅供参考Mac ...
转到你可能在这里的Android工具目录..
cd/Users/.../Library/Android/android-sdk-macosx/tools
并运行此
./android update sdk --no-ui
它将安装大量的下载(30分钟),包括它看起来像解决此问题所需的一切.
...
Downloading Local Maven repository for Support Libraries, revision 28
Installing Local Maven repository for Support Libraries, revision 28
Installed Local Maven repository for Support Libraries, revision 2899%)
Downloading Google Play services, revision 29
Installing Google Play services, revision 29
Installed Google Play services, revision 2996%)
Downloading Google Repository, revision 25
Installing Google Repository, revision 25
Installed Google Repository, revision 2599%)
...
Done. 34 packages installed.
Run Code Online (Sandbox Code Playgroud)
如果您是Unity-Mac用户,可能您没有安装Android Studio,而只安装了各种SDK.通过这种方式,您可以轻松更新,而无需使用Studio等.相反,如果你只是跑
./android
它将打开非常方便的AndroidSDKManager(即在Mac上运行的实际gui应用程序).如果您确切知道安装什么以使Play服务正常工作,那么您可以这样做,也许可以节省一些下载.请注意,幸运的是SDKManager可以通过这种方式运行(在Mac上没有 frickin'java )而无需启动Studio.
希望它可以帮助某人.
归档时间: |
|
查看次数: |
5783 次 |
最近记录: |