Google仅在Xiomi Devices上出现错误

时间:2016-12-08 08:18:05

标签: android google-play-services

在Android应用中使用 com.google.android.gms:play-services-auth:10.0.1 进行google登录,并且无法使用 xiomi 设备和其他设备上的工作。

Stacktrace

Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp/com.google.android.gms.auth.api.signin.internal.SignInHubActivity}: java.lang.IllegalStateException: Bad magic number for Bundle: 0xffff4f45
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2332)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2394)
       at android.app.ActivityThread.access$800(ActivityThread.java:154)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:135)
       at android.app.ActivityThread.main(ActivityThread.java:5276)
       at java.lang.reflect.Method.invoke(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:372)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:911)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:706) Caused by java.lang.IllegalStateException: Bad magic number for Bundle: 0xffff4f45
       at android.os.Parcel.readException(Parcel.java:1554)
       at android.os.Parcel.readException(Parcel.java:1499)
       at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2441)
       at android.app.Instrumentation.execStartActivity(Instrumentation.java:1500)
       at android.app.Activity.startActivityForResult(Activity.java:3796)
       at android.app.Activity.startActivityForResult(Activity.java:3757)
       at android.support.v4.app.FragmentActivity.startActivityForResult(SourceFile:842)
       at com.google.android.gms.auth.api.signin.internal.SignInHubActivity.zzj(Unknown Source)
       at com.google.android.gms.auth.api.signin.internal.SignInHubActivity.onCreate(Unknown Source)
       at android.app.Activity.performCreate(Activity.java:6041)
       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1109)
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2285)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2394)
       at android.app.ActivityThread.access$800(ActivityThread.java:154)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:135)
       at android.app.ActivityThread.main(ActivityThread.java:5276)
       at java.lang.reflect.Method.invoke(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:372)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:911)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:706)

0 个答案:

没有答案