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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3524

Stack trace

  • 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) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitor2 times, last one
Unknown visitor
Unknown visitorOnce,
filpgamefilpgame
16 times, last one
pranavprakashpranavprakash
6 times, last one
tererecooltererecool
12 times, last one
103 more bugmates