java.lang.RuntimeException: Unable to start activity ComponentInfo{com.smd.android.myapp/com.smd.android.myapp.MainActivity}: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class android.widget.RelativeLayout

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 Stack Overflow by xv47
, 1 year ago
Unable to start activity ComponentInfo{com.smd.android.myapp/com.smd.android.myapp.MainActivity}: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class android.widget.RelativeLayout
via Stack Overflow by xyz
, 1 year ago
Unable to start activity ComponentInfo{com.symplyfyweb.gherghina.oldschoolwesternpoker/com.symplyfyweb.gherghina.oldschoolwesternpoker.MainActivity}: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class android.widget.RelativeLayout
via GitHub by ecgreb
, 9 months ago
Unable to start activity ComponentInfo{com.mapzen.android.sdk.sample/com.mapzen.android.sdk.sample.BasicMapzenActivity}: android.view.InflateException: Binary XML file line #33: Binary XML file line #1: Binary XML file line #1: Error inflating class com.mapzen.android.graphics.MapView
via Stack Overflow by Jordan Morse
, 1 year ago
Unable to start activity ComponentInfo{com.example.jam7733.myapplication/com.example.jam7733.myapplication.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class android.widget.RelativeLayout
via Stack Overflow by uk k
, 1 year ago
Unable to start activity ComponentInfo{com.example.user.maptest/com.example.user.maptest.MapsActivity}: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class fragment
via Stack Overflow by ckn
, 1 year ago
Unable to start activity ComponentInfo{com.myapp.maptest/com.myapp.maptest.MapsActivity}: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class fragment
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.smd.android.myapp/com.smd.android.myapp.MainActivity}: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class android.widget.RelativeLayout
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

232 times, 1 year ago
32 times, 1 year ago
23 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
3 times, 10 months ago
109 more bugmates

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