2017-03-08 98 views
0

這裏描述實現智能鎖提示拾取後: https://developers.google.com/identity/smartlock-passwords/android/retrieve-hints智能鎖提示選擇器崩潰

我從谷歌下列崩潰播放服務:

03-08 16:31:55.732 6964-6964/? W/Bundle: Attempt to cast generated internal exception: 
             java.lang.ClassCastException: byte[] cannot be cast to android.os.Parcelable 
              at android.os.Bundle.getParcelable(Bundle.java:1212) 
              at android.content.Intent.getParcelableExtra(Intent.java:5007) 
              at com.google.android.gms.auth.api.credentials.ui.CredentialPickerChimeraActivity.onCreate(:com.google.android.gms:2119) 
              at com.google.android.chimera.Activity.publicOnCreate(:com.google.android.gms:303) 
              at com.google.android.chimera.container.ActivityProxy.onCreate(:com.google.android.gms:305) 
              at android.app.Activity.performCreate(Activity.java:5312) 
              at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111) 
              at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2552) 
              at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2653) 
              at android.app.ActivityThread.access$800(ActivityThread.java:156) 
              at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1355) 
              at android.os.Handler.dispatchMessage(Handler.java:102) 
              at android.os.Looper.loop(Looper.java:157) 
              at android.app.ActivityThread.main(ActivityThread.java:5872) 
              at java.lang.reflect.Method.invokeNative(Native Method) 
              at java.lang.reflect.Method.invoke(Method.java:515) 
              at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) 
              at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674) 
              at dalvik.system.NativeStart.main(Native Method) 
03-08 16:31:55.732 6964-6964/? W/Bundle: Key com.google.android.gms.credentials.HintRequest expected Parcelable but value was a [B. The default value <null> was returned. 
03-08 16:31:55.732 6964-6964/? W/Bundle: Attempt to cast generated internal exception: 
             java.lang.ClassCastException: byte[] cannot be cast to android.os.Parcelable 
              at android.os.Bundle.getParcelable(Bundle.java:1212) 
              at android.content.Intent.getParcelableExtra(Intent.java:5007) 
              at egv.b(:com.google.android.gms:115) 
              at com.google.android.gms.auth.api.credentials.ui.CredentialPickerChimeraActivity.onCreate(:com.google.android.gms:174) 
              at com.google.android.chimera.Activity.publicOnCreate(:com.google.android.gms:303) 
              at com.google.android.chimera.container.ActivityProxy.onCreate(:com.google.android.gms:305) 
              at android.app.Activity.performCreate(Activity.java:5312) 
              at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111) 
              at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2552) 
              at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2653) 
              at android.app.ActivityThread.access$800(ActivityThread.java:156) 
              at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1355) 
              at android.os.Handler.dispatchMessage(Handler.java:102) 
              at android.os.Looper.loop(Looper.java:157) 
              at android.app.ActivityThread.main(ActivityThread.java:5872) 
              at java.lang.reflect.Method.invokeNative(Native Method) 
              at java.lang.reflect.Method.invoke(Method.java:515) 
              at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) 
              at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674) 
              at dalvik.system.NativeStart.main(Native Method) 
03-08 16:31:55.732 6964-6964/? W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41642e18) 
03-08 16:31:55.822 6964-6964/? I/DeviceDoctorDatabaseHelper: Cleaning stale data from database! 
03-08 16:31:55.862 6964-6964/? W/DeviceDoctorHandler: Crash Hash: 0b120f68bbc35a8214ee03ee607628abc1c08205 
03-08 16:31:55.872 1060-1193/? E/ActivityManager: App crashed! Process: com.google.android.gms.ui 
03-08 16:31:55.872 6964-6964/? E/AndroidRuntime: FATAL EXCEPTION: main 
               Process: com.google.android.gms.ui, PID: 6964 
               java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.gms/com.google.android.gms.auth.api.credentials.ui.CredentialPickerActivity}: java.lang.NullPointerException 
                at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2596) 
                at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2653) 
                at android.app.ActivityThread.access$800(ActivityThread.java:156) 
                at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1355) 
                at android.os.Handler.dispatchMessage(Handler.java:102) 
                at android.os.Looper.loop(Looper.java:157) 
                at android.app.ActivityThread.main(ActivityThread.java:5872) 
                at java.lang.reflect.Method.invokeNative(Native Method) 
                at java.lang.reflect.Method.invoke(Method.java:515) 
                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) 
                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674) 
                at dalvik.system.NativeStart.main(Native Method) 
                Caused by: java.lang.NullPointerException 
                at com.google.android.gms.auth.api.credentials.ui.CredentialPickerChimeraActivity.onCreate(:com.google.android.gms:3148) 
                at com.google.android.chimera.Activity.publicOnCreate(:com.google.android.gms:303) 
                at com.google.android.chimera.container.ActivityProxy.onCreate(:com.google.android.gms:305) 
                at android.app.Activity.performCreate(Activity.java:5312) 
                at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111) 
                at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2552) 
                at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2653)  
                at android.app.ActivityThread.access$800(ActivityThread.java:156)  
                at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1355)  
                at android.os.Handler.dispatchMessage(Handler.java:102)  
                at android.os.Looper.loop(Looper.java:157)  
                at android.app.ActivityThread.main(ActivityThread.java:5872)  
                at java.lang.reflect.Method.invokeNative(Native Method)  
                at java.lang.reflect.Method.invoke(Method.java:515)  
                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)  
                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)  
                at dalvik.system.NativeStart.main(Native Method)  

這發生在HTC個Mini 2和三星Galaxy SII手機。

所以問題是,Google會修復這個問題嗎?

+0

playServicesVersion = '10.2.0', Google Play Services on device is 10.0.84 –

回答

0

我通過出廠重置HTC One Mini 2並在設備上更新Google Play服務至10.2.98來修復了此問題。