谷歌地图Android中的NPE

时间:2016-02-02 04:44:12

标签: android google-maps

我在某些kitkat设备中膨胀地图碎片时收到了一些崩溃报告。

Caused  by:  java.lang.NullPointerException
        at  com.google.maps.api.android.lib6.gmm6.m.ad.a(Unknown  Source)
        at  com.google.maps.api.android.lib6.gmm6.c.h.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:361)
        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:1965)
        at  android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1047)
        at  android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1237)
        at  android.support.v4.app.FragmentManagerImpl.addFragment(FragmentManager.java:1339)
        at  android.support.v4.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2295)
        at  android.support.v4.app.FragmentController.onCreateView(FragmentController.java:111)
        at  android.support.v4.app.FragmentActivity.dispatchFragmentsOnCreateView(FragmentActivity.java:314)
        at  android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:31)
        at  android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:79)
        at  android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:689)
        ...  22  more

填写了here个问题。任何人都面临这个问题,这与sdcard的问题不同。

0 个答案:

没有答案