Android Google地图在升级到8.4

时间:2015-12-28 14:09:55

标签: java android google-maps crash stack-trace

将我的播放服务升级到8.4后,我注意到谷歌地图在应用启动后立即崩溃。自从我升级到8.4后,我没有更改任何代码,所以我的假设是这个问题是谷歌地图相关的错误。

堆栈跟踪:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example/com.example.MainActivity}: java.lang.NullPointerException
                                                                        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
                                                                        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
                                                                        at android.app.ActivityThread.-wrap11(ActivityThread.java)
                                                                        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
                                                                        at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                        at android.os.Looper.loop(Looper.java:148)
                                                                        at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                                        at java.lang.reflect.Method.invoke(Native Method)
                                                                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
                                                                     Caused by: java.lang.NullPointerException
                                                                        at com.google.a.a.ae.a(Unknown Source)
                                                                        at com.google.maps.api.android.lib6.gmm6.c.k.<init>(Unknown Source)
                                                                        at com.google.maps.api.android.lib6.gmm6.c.k.a(Unknown Source)
                                                                        at com.google.maps.api.android.lib6.gmm6.c.y.a(Unknown Source)
                                                                        at com.google.maps.api.android.lib6.e.bd.a(Unknown Source)
                                                                        at com.google.maps.api.android.lib6.e.ev.a(Unknown Source)
                                                                        at com.google.maps.api.android.lib6.e.z.a(Unknown Source)
                                                                        at com.google.maps.api.android.lib6.e.y.a(Unknown Source)
                                                                        at com.google.android.gms.maps.internal.u.onTransact(SourceFile:107)
                                                                        at android.os.Binder.transact(Binder.java:387)
                                                                        at com.google.android.gms.maps.internal.IMapFragmentDelegate$zza$zza.onCreateView(Unknown Source)
                                                                        at com.google.android.gms.maps.SupportMapFragment$zza.onCreateView(Unknown Source)
                                                                        at com.google.android.gms.dynamic.zza$4.zzb(Unknown Source)
                                                                        at com.google.android.gms.dynamic.zza.zza(Unknown Source)
                                                                        at com.google.android.gms.dynamic.zza.onCreateView(Unknown Source)
                                                                        at com.google.android.gms.maps.SupportMapFragment.onCreateView(Unknown Source)
                                                                        at android.support.v4.app.Fragment.performCreateView(Fragment.java:1962)
                                                                        at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1036)
                                                                        at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248)
                                                                        at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1230)
                                                                        at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2042)
                                                                        at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1976)
                                                                        at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1092)
                                                                        at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248)
                                                                        at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)
                                                                        at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613)
                                                                        at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:330)
                                                                        at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:547)
                                                                        at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1237)
                                                                        at android.app.Activity.performStart(Activity.java:6253)
                                                                        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
                                                                        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) 
                                                                        at android.app.ActivityThread.-wrap11(ActivityThread.java) 
                                                                        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) 
                                                                        at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                        at android.os.Looper.loop(Looper.java:148) 
                                                                        at android.app.ActivityThread.main(ActivityThread.java:5417) 
                                                                        at java.lang.reflect.Method.invoke(Native Method) 
                                                                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 

在我的代码中似乎也没有问题,否则会在堆栈跟踪中注意到,所以可能是一个谷歌错误,只是想在将其报告为错误之前询问是否有人有相同的问题。

0 个答案:

没有答案