NullPointerException from Google maps

前端 未结 4 390
醉梦人生
醉梦人生 2020-11-30 04:13

I\'ve just recently started to receive a nullpointerexception from Android google maps and I can\'t figure out what causes it. Currently it has only been reported on a HTC D

相关标签:
4条回答
  • 2020-11-30 04:20

    Have u tried these

    <!-- EXTERNAL_STORAGE permissions are optional for Android 6.0 onwards. -->
        <uses-permission
            android:name="android.permission.WRITE_EXTERNAL_STORAGE"
            android:maxSdkVersion="22" />
        <uses-permission
            android:name="android.permission.READ_EXTERNAL_STORAGE"
            android:maxSdkVersion="22" />
    

    This may solve the issue.

    0 讨论(0)
  • 2020-11-30 04:24

    So as suspected this is an issue at googles side. They've verified the bug and are working on a fix (2015-12-21), see googles bug tracker for up to date info about the issue.

    Edit:

    So I got to test Georges SD info and yes inserting a SD card solved the problem. So from this we can conclude phones that don't have an internal fake-external storage (like most phones now a days) will crash from this bug... So this might be a workaround for those who work in the enterprise segment but for those working in the consumer segment this will not really help a lot...

    Edit Jan 20, 2016

    A developer from the Google team has announced the fix has been made and it will be rolled out with the next major release of Google play, but they haven't set a timeline for that yet.

    Edit Jun 02, 2016

    A developer from the Google team has announced it is confirmed fixed:

    Sorry this took so long to fix, but here is the bug fix you've been waiting for!

    We can confirm that this issue is now fixed in version 9.0.83 of Google Play Services, released in May 2016.

    0 讨论(0)
  • 2020-11-30 04:37

    Ok found the solution in my case 5 hours later.

    Without touching the device (HTC Desire X 4.1.1) all I did is install an SD card and the error magically disappeared. Install SD card, reboot (updated Google photos in the process by I don't think it has anything to do with the issue).

    For crying out loud !

    0 讨论(0)
  • 2020-11-30 04:43

    Adding size of SD card on my Emulator worked for me.

    Emulator Android

    0 讨论(0)
提交回复
热议问题