java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.root.newboston/com.example.root.newboston.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>

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 JDFuzyll
, 1 year ago
Unable to start activity ComponentInfo{com.example.root.newboston/com.example.root.newboston.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>
via Stack Overflow by chirag panchal
, 1 year ago
Unable to start activity ComponentInfo{com.example.admin.fragmentsmemecreator23/com.example.admin.fragmentsmemecreator23.MainActivity}: android.view.InflateException: Binary XML file line #24: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>
via GitHub by praveeng145
, 1 year ago
Unable to start activity ComponentInfo{com.mobile.client.android/com.mobile.client.android.ui.activities.DashboardActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>
via GitHub by raybest4u
, 1 year ago
Unable to start activity ComponentInfo{ main.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>
via Stack Overflow by enver browne
, 1 year ago
Unable to start activity ComponentInfo{com.example.android.stratosphere/com.example.android.stratosphere.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>
via Stack Overflow by Suraj Nath
, 1 month ago
Unable to start activity ComponentInfo{com.example.surajnath.hungrytime/com.example.surajnath.hungrytime.HungryLogin}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.root.newboston/com.example.root.newboston.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

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

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