我一直在使用Google Play游戏服务实现多人游戏,并且我可以在客户之间发送消息。 现在谷歌播放服务每次发送邀请,登录时都会崩溃,其他一切工作正常。 我的应用程序以及谷歌的多人游戏示例应用程序都会发生这种情况。 我认为崩溃是在ADT更新后开始的。
logcat的:
06-04 03:37:56.610: W/dalvikvm(2258): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/google/android/gms/games/jingle/Libjingle;
06-04 03:37:56.610: D/AndroidRuntime(2258): Shutting down VM
06-04 03:37:56.610: W/dalvikvm(2258): threadid=1: thread exiting with uncaught exception (group=0x41a1b930)
06-04 03:37:56.625: E/AndroidRuntime(2258): FATAL EXCEPTION: main
06-04 03:37:56.625: E/AndroidRuntime(2258): java.lang.ExceptionInInitializerError
06-04 03:37:56.625: E/AndroidRuntime(2258): at ajd.<init>(SourceFile:361)
06-04 03:37:56.625: E/AndroidRuntime(2258): at ajd.a(SourceFile:476)
06-04 03:37:56.625: E/AndroidRuntime(2258): at ara.<init>(SourceFile:120)
06-04 03:37:56.625: E/AndroidRuntime(2258): at com.google.android.gms.games.service.RealTimeMatchAndroidService.onBind(SourceFile:73)
06-04 03:37:56.625: E/AndroidRuntime(2258): at android.app.ActivityThread.handleBindService(ActivityThread.java:2624)
06-04 03:37:56.625: E/AndroidRuntime(2258): at android.app.ActivityThread.access$1800(ActivityThread.java:154)
06-04 03:37:56.625: E/AndroidRuntime(2258): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1377)
06-04 03:37:56.625: E/AndroidRuntime(2258): at android.os.Handler.dispatchMessage(Handler.java:99)
06-04 03:37:56.625: E/AndroidRuntime(2258): at android.os.Looper.loop(Looper.java:137)
06-04 03:37:56.625: E/AndroidRuntime(2258): at android.app.ActivityThread.main(ActivityThread.java:5306)
06-04 03:37:56.625: E/AndroidRuntime(2258): at java.lang.reflect.Method.invokeNative(Native Method)
06-04 03:37:56.625: E/AndroidRuntime(2258): at java.lang.reflect.Method.invoke(Method.java:511)
06-04 03:37:56.625: E/AndroidRuntime(2258): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
06-04 03:37:56.625: E/AndroidRuntime(2258): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
06-04 03:37:56.625: E/AndroidRuntime(2258): at dalvik.system.NativeStart.main(Native Method)
06-04 03:37:56.625: E/AndroidRuntime(2258): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load games_rtmp_jni from loader dalvik.system.PathClassLoader[dexPath=/system/framework/com.android.location.provider.jar:/system/app/GmsCore.apk,libraryPath=/data/app-lib/GmsCore]: findLibrary returned null
06-04 03:37:56.625: E/AndroidRuntime(2258): at java.lang.Runtime.loadLibrary(Runtime.java:365)
06-04 03:37:56.625: E/AndroidRuntime(2258): at java.lang.System.loadLibrary(System.java:535)
06-04 03:37:56.625: E/AndroidRuntime(2258): at com.google.android.gms.games.jingle.Libjingle.<clinit>(SourceFile:38)
06-04 03:37:56.625: E/AndroidRuntime(2258): ... 15 more
答案 0 :(得分:2)
您的构建系统可能正在生成缺少组件的APK。我建议你从头开始重建你的开发环境(新的工作区,新的IDE安装,新的一切)。从头开始重建通常比查明出错的确切设置问题更容易。
尝试生成APK agian。