java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.zhangkaiyue.mapboxdemo/com.example.zhangkaiyue.mapboxdemo.MainActivity}: android.view.InflateException: Binary XML file line #10: Error inflating class com.mapbox.mapboxsdk.maps.MapView

GitHub | zhangkaiyue0701 | 3 months ago
  1. 0

    GitHub comment 6287#245570869

    GitHub | 3 months ago | zhangkaiyue0701
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.zhangkaiyue.mapboxdemo/com.example.zhangkaiyue.mapboxdemo.MainActivity}: android.view.InflateException: Binary XML file line #10: Error inflating class com.mapbox.mapboxsdk.maps.MapView
  2. 0

    GitHub comment 6287#245803153

    GitHub | 3 months ago | zhangkaiyue0701
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.zhangkaiyue.mapboxdemo/com.example.zhangkaiyue.mapboxdemo.MainActivity}: android.view.InflateException: Binary XML file line #10: Error inflating class com.mapbox.mapboxsdk.maps.MapView
  3. 0

    Unable to inflate MapView on Android 4.3 if visibility is gone or invisible

    GitHub | 3 months ago | zugaldia
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapbox.samplevisibilityapp/com.mapbox.samplevisibilityapp.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class com.mapbox.mapboxsdk.maps.MapView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.mapbox.mapboxsdk.maps.MapView.onVisibilityChanged()
    2. com.mapbox.mapboxsdk
      MapView.onVisibilityChanged
      1. com.mapbox.mapboxsdk.maps.MapView.onVisibilityChanged(MapView.java:1502)
      1 frame
    3. Android Platform
      FrameLayout.<init>
      1. android.view.View.dispatchVisibilityChanged(View.java:8115)
      2. android.view.ViewGroup.dispatchVisibilityChanged(ViewGroup.java:1096)
      3. android.view.View.setFlags(View.java:9488)
      4. android.view.View.<init>(View.java:3943)
      5. android.view.ViewGroup.<init>(ViewGroup.java:475)
      6. android.widget.FrameLayout.<init>(FrameLayout.java:101)
      7. android.widget.FrameLayout.<init>(FrameLayout.java:97)
      7 frames
    4. com.mapbox.mapboxsdk
      MapView.<init>
      1. com.mapbox.mapboxsdk.maps.MapView.<init>(MapView.java:171)
      1 frame
    5. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
      2 frames
    6. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:643)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:745)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:804)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:526)
      4 frames
    7. XposedBridge
      XposedBridge.handleHookedMethod
      1. de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
      2. de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
      2 frames
    8. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.inflate(Native Method)
      2. android.view.LayoutInflater.inflate(LayoutInflater.java:426)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:382)
      3 frames
    9. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
      2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
      2 frames
    10. com.example.zhangkaiyue
      MainActivity.onCreate
      1. com.example.zhangkaiyue.mapboxdemo.MainActivity.onCreate(MainActivity.java:43)
      1 frame
    11. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5372)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2362)
      5. android.app.ActivityThread.access$700(ActivityThread.java:168)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:177)
      9. android.app.ActivityThread.main(ActivityThread.java:5493)
      9 frames
    12. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    13. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1225)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1041)
      2 frames
    14. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
      1 frame
    15. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame