java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.samyak.lovecalculator/com.example.samyak.lovecalculator.MainActivity}: android.view.InflateException: Binary XML file line #37: Binary XML file line #37: Error inflating class Button

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 Samyak Talesra
, 9 months ago
Unable to start activity ComponentInfo{com.example.samyak.lovecalculator/com.example.samyak.lovecalculator.MainActivity}: android.view.InflateException: Binary XML file line #37: Binary XML file line #37: Error inflating class Button
via GitHub by rosenpin
, 7 months ago
Unable to start activity ComponentInfo{com.tomer.alwayson/com.tomer.alwayson.Activities.ReporterActivity}: android.view.InflateException: Binary XML file line #37: Binary XML file line #2: Error inflating class android.support.v7.widget.CardView
via GitHub by rosenpin
, 1 year ago
Unable to start activity ComponentInfo{com.tomer.alwayson/com.tomer.alwayson.Activities.ReporterActivity}: android.view.InflateException: Binary XML file line #37: Binary XML file line #2: Error inflating class android.support.v7.widget.CardView
via Game Development by Saranya Ananthakrishnan
, 11 months ago
Unable to start activity ComponentInfo{com.google.vr.sdk.samples.simplepanowidget/com.google.vr.sdk.samples.simplepanowidget.EmailLogin}: android.view.InflateException: Binary XML file line #81: Binary XML file line #81: Error inflating class Button
via Stack Overflow by user56926
, 8 months ago
Unable to start activity ComponentInfo{com.App.Main/com.package.Main.MainActivity}: android.view.InflateException: Binary XML file line #88: Binary XML file line #88: Error inflating class Button
via Stack Overflow by Matin Gdz
, 1 week ago
Unable to start activity ComponentInfo{com.matingdz.InsDLFreeGooglePlay/com.matingdz.InsDLFreeGooglePlay.DlStory}: android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class Button
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.samyak.lovecalculator/com.example.samyak.lovecalculator.MainActivity}: android.view.InflateException: Binary XML file line #37: Binary XML file line #37: Error inflating class Button
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)

Users with the same issue

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

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