java.lang.RuntimeException

Unable to start activity ComponentInfo{proviser.legalapps.com.proviser/proviser.legalapps.com.proviser.ClassicMenuActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class android.support.design.widget.FloatingActionButton

Samebug tips1

Check if the version of Intercom you're using uses the same version of the Android support library you have as dependency. Update or rollback your support library version so they match with the one Intercom needs.

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

Solutions on the web15

  • via GitHub by Pahanuch
    ,
  • via Stack Overflow by Lucas Brito
    ,
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{proviser.legalapps.com.proviser/proviser.legalapps.com.proviser.ClassicMenuActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class android.support.design.widget.FloatingActionButton at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2429) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:5333) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #26: Error inflating class android.support.design.widget.FloatingActionButton at android.view.LayoutInflater.createView(LayoutInflater.java:620) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) at android.view.LayoutInflater.parseInclude(LayoutInflater.java:839) at android.view.LayoutInflater.rInflate(LayoutInflater.java:745) at android.view.LayoutInflater.inflate(LayoutInflater.java:492) at android.view.LayoutInflater.inflate(LayoutInflater.java:397) at android.view.LayoutInflater.inflate(LayoutInflater.java:353) at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140) at proviser.legalapps.com.proviser.ClassicMenuActivity.onCreate(ClassicMenuActivity.java:148) at android.app.Activity.performCreate(Activity.java:5343) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2331) ... 11 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at android.view.LayoutInflater.createView(LayoutInflater.java:594) ... 24 more Caused by: java.lang.NoSuchMethodError: android.support.v7.widget.AppCompatImageHelper.<init> at android.support.design.widget.FloatingActionButton.<init>(FloatingActionButton.java:170) at android.support.design.widget.FloatingActionButton.<init>(FloatingActionButton.java:147) ... 27 more

    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

    DonsyDonsy
    4 times, last one
    Aria PahlavanAria Pahlavan
    Once,
    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitor4 times, last one