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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by zhangkaiyue0701
, 1 year ago
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
via GitHub by zhangkaiyue0701
, 1 year ago
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
via Stack Overflow by vimal kumar R
, 2 years ago
Unable to start activity ComponentInfo{com.sentientit.theiWedplanner/com.sentientit.theiWedplanner.Frontpage}: android.view.InflateException: Binary XML file line #10: Error inflating class fragment
via Stack Overflow by user2881473
, 2 years ago
Unable to start activity ComponentInfo{com.official.thecevicheapp/com.official.thecevicheapp.MainActivity}: android.view.InflateException: Binary XML file line #10: Error inflating class com.google.ads.AdView
via GitHub by atulagrwl
, 2 years ago
Unable to start activity ComponentInfo{com.eteach.sol/com.eteach.sol.MainActivity}: android.view.InflateException: Binary XML file line #10: Error inflating class com.jfeinstein.jazzyviewpager.JazzyViewPager
via Stack Overflow by vimal kumar
, 2 years ago
Unable to start activity ComponentInfo{com.sentientit.theiWedplanner/com.sentientit.theiWedplanner.Frontpage}: android.view.InflateException: Binary XML file line #10: Error inflating class fragment
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
at com.mapbox.mapboxsdk.maps.MapView.onVisibilityChanged(MapView.java:1502)
at android.view.View.dispatchVisibilityChanged(View.java:8115)
at android.view.ViewGroup.dispatchVisibilityChanged(ViewGroup.java:1096)
at android.view.View.setFlags(View.java:9488)
at android.view.View.(View.java:3943)
at android.view.ViewGroup.(ViewGroup.java:475)
at android.widget.FrameLayout.(FrameLayout.java:101)
at android.widget.FrameLayout.(FrameLayout.java:97)
at com.mapbox.mapboxsdk.maps.MapView.(MapView.java:171)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:643)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:745)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:804)
at android.view.LayoutInflater.inflate(LayoutInflater.java:526)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at android.view.LayoutInflater.inflate(Native Method)
at android.view.LayoutInflater.inflate(LayoutInflater.java:426)
at android.view.LayoutInflater.inflate(LayoutInflater.java:382)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
at com.example.zhangkaiyue.mapboxdemo.MainActivity.onCreate(MainActivity.java:40)
at android.app.Activity.performCreate(Activity.java:5372)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2362)
at android.app.ActivityThread.access$700(ActivityThread.java:168)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:177)
at android.app.ActivityThread.main(ActivityThread.java:5493)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1225)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1041)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.