java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapbox.mapboxandroiddemo/com.mapbox.mapboxandroiddemo.examples.SimpleOfflineMapActivity}: android.view.InflateException: Binary XML file line #20: Error inflating class android.widget.ProgressBar

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

Solutions on the web

via GitHub by cammace
, 1 year ago
Unable to start activity ComponentInfo{com.mapbox.mapboxandroiddemo/com.mapbox.mapboxandroiddemo.examples.SimpleOfflineMapActivity}: android.view.InflateException: Binary XML file line #20: Error inflating class android.widget.ProgressBar
via Stack Overflow by ligi
, 4 months ago
Unable to start activity ComponentInfo{org.ligi.gobandroid_hd/org.ligi.gobandroid_hd.ui.game_setup.GoSetupActivity}: android.view.InflateException: Binary XML file line #20: Error inflating class android.support.design.widget.NavigationView
via GitHub by afollestad
, 2 years ago
Unable to start activity ComponentInfo{com.afollestad.cabinet/com.afollestad.cabinet.ui.MainActivity}: android.view.InflateException: Binary XML file line #20: Error inflating class xyz.danoz.recyclerviewfastscroller.FastScroller
via GitHub by maxme
, 2 months ago
Unable to start activity ComponentInfo{org.wordpress.android/org.wordpress.passcodelock.PasscodeManagePasswordActivity}: android.view.InflateException: Binary XML file line #20: Error inflating class <unknown>
via GitHub by Fax3D
, 1 year ago
Unable to start activity ComponentInfo{***/com.firebase.ui.auth.ui.email.SignInNoPasswordActivity}: android.view.InflateException: Binary XML file line #30: Error inflating class Button
via Stack Overflow by Thoại L&#234; Minh
, 1 year ago
Unable to start activity ComponentInfo{com.thoai.leminh.huntervsfruit/com.thoai.leminh.huntervsfruit.EasyLevelActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapbox.mapboxandroiddemo/com.mapbox.mapboxandroiddemo.examples.SimpleOfflineMapActivity}: android.view.InflateException: Binary XML file line #20: Error inflating class android.widget.ProgressBar
at android.graphics.drawable.DrawableContainer$DrawableContainerState.addChild(DrawableContainer.java:584)
at android.graphics.drawable.StateListDrawable$StateListState.addStateSet(StateListDrawable.java:291)
at android.graphics.drawable.StateListDrawable.inflate(StateListDrawable.java:189)
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:990)
at android.graphics.drawable.Drawable.createFromXml(Drawable.java:930)
at android.content.res.Resources.loadDrawable(Resources.java:3430)
at android.content.res.TypedArray.getDrawable(TypedArray.java:602)
at android.view.View.(View.java:3714)
at android.widget.ProgressBar.(ProgressBar.java:269)
at android.widget.ProgressBar.(ProgressBar.java:262)
at android.widget.ProgressBar.(ProgressBar.java:258)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:600)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:675)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:700)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
at com.mapbox.mapboxandroiddemo.examples.SimpleOfflineMapActivity.onCreate(SimpleOfflineMapActivity.java:38)
at android.app.Activity.performCreate(Activity.java:5458)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
at android.app.ActivityThread.access$900(ActivityThread.java:175)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5603)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

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.

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