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

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Why is my android app force closing before it starts showing error inflating class Button

    Stack Overflow | 1 week ago | Samyak Talesra
    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
  2. 0

    Can not create simple databinding

    Stack Overflow | 11 months ago | demas
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.demas.db1/com.example.demas.db1.MainActivity}: android.view.InflateException: Binary XML file line #3: Binary XML file line #3: Error inflating class layout
  3. 0

    My android app crashes everytime in ADT API:23

    Stack Overflow | 5 months ago | Deepak Singh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.deepaksingh.fragment2/com.example.deepaksingh.fragment2.MainActivity}: android.view.InflateException: Binary XML file line #6: Binary XML file line #9: Binary XML file line #9: Error inflating class Textview
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    On tablet orientation change app crashes

    Stack Overflow | 4 months ago | stanna
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.strahinja.popularmoviesp2/com.example.strahinja.popularmoviesp2.activity.MainActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #11: Error inflating class fragment
  6. 0

    【Android】gradle:2.2.0-alpha2(or 3)で9-patch画像を使おうとするとException - Qiita

    qiita.com | 5 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{packageName/ActitivyName}: android.view.InflateException: Binary XML file line #102: Binary XML file line #102: Error inflating class Button

  1. Indri Yunita 4 times, last 2 weeks ago
  2. andreeaa marin 184 times, last 1 month ago
  3. Reich 59 times, last 1 month ago
  4. gamebusterz 40 times, last 1 month ago
  5. Emrah Küçük 3 times, last 2 months ago
42 more registered users
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
    2 frames