java.lang.RuntimeException: Unable to start activity ComponentInfo{...MainActivity}: android.view.InflateException: Binary XML file line #54: Error inflating class ...BlaView

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

,
via Stack Overflow by CommonsWare

Try loading the text file into a WebView, then printing the contents of the WebView.

Solutions on the web

via Stack Overflow by Shivansh
, 1 year ago
Unable to start activity ComponentInfo{...MainActivity}: android.view.InflateException: Binary XML file line #54: Error inflating class ...BlaView
via Stack Overflow by ansonr
, 2 years ago
Unable to start activity ComponentInfo{edu.wmich.lab2aricha9157/edu.wmich.lab2aricha9157.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
via GitHub by shahimclt
, 1 year ago
Unable to start activity ComponentInfo{<packagename>/<packagename>.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class com.kennyc.view.MultiStateView
via Stack Overflow by eric2646
, 2 years ago
Unable to start activity ComponentInfo{com.example.test3/com.example.test3.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class MapFragment
via Stack Overflow by user76814
, 1 year ago
Unable to start activity ComponentInfo{com.mycompany.myapp2/com.mycompany.myapp2.MainActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class Toolbar
via Stack Overflow by Asmaa Rashad
, 6 months ago
Unable to start activity ComponentInfo{com.example.mmido.myapplication1/com.example.mmido.myapplication1.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class android.support.v7.widget.Toolbar
java.lang.RuntimeException: Unable to start activity ComponentInfo{...MainActivity}: android.view.InflateException: Binary XML file line #54: Error inflating class ...BlaView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2200)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2249)
at android.app.ActivityThread.access$800(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5052)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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