1. Are you ready for the Galaxy S20? Here is everything we know so far!

NullPointerException, but only for Intel Atom (x86) ???

Discussion in 'Android Development' started by ac4android, Mar 17, 2016.

  1. ac4android

    ac4android Well-Known Member
    Thread Starter

    Hi.

    My app accesses Google Maps n works well on following configurations ( as well as on a physical Galaxy S5 ), albeit a bit slower on the armeabi-v7a :

    Name: Nexus_4_Google_API_21_armeabi-v7a
    CPU/ABI: Google APIs ARM (armeabi-v7a)
    Target: Google APIs (API level 21)

    Name: Nexus_4_Google_API_21_x86_64
    CPU/ABI: Google APIs Intel Atom (x86_64)
    Target: Google APIs (API level 21)



    But for the Intel Atom, it generates a FATAL EXCEPTION on the AVD

    Name: Nexus_4_Google_API_21_x86
    CPU/ABI: Intel Atom (x86)
    Target: Android 5.0.1 (API level 21)

    E/AndroidRuntime: FATAL EXCEPTION:
    java.lang.RuntimeException: Unable to start activity ComponentInfo{...}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.maps.GoogleMap.setMapType(int)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)

    I have no idea why it generates a NullPointerException on setMapType(int), at a guess, Google Maps requires a "****_x86_64"

    QUESTION: In terms of devices out there, can we ignore the Intel Atom "_86" ? Can't be a lot of those out there... right?
     


Loading...

Share This Page

Loading...