java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.mutha.myapplication/com.example.mutha.myapplication.view.activity.MainActivity}: android.view.InflateException: Binary XML file line #122: Error inflating class android.support.design.widget.FloatingActionButton

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 M.Ron
, 1 year ago
Unable to start activity ComponentInfo{com.example.mutha.myapplication/com.example.mutha.myapplication.view.activity.MainActivity}: android.view.InflateException: Binary XML file line #122: Error inflating class android.support.design.widget.FloatingActionButton
via GitHub by dralagen
, 1 year ago
Unable to start activity ComponentInfo{de.dreier.mytargets/de.dreier.mytargets.activities.MainActivity}: android.view.InflateException: Binary XML file line #37: Error inflating class android.support.design.widget.FloatingActionButton
via Stack Overflow by siyanew
, 11 months ago
Unable to start activity ComponentInfo{com.jomlex.jomlex/com.jomlex.jomlex.MainActivity}: android.view.InflateException: Binary XML file line #45: Error inflating class android.support.design.widget.FloatingActionButton
via ezeenow.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.karaj.project/com.karaj.project.FistActiivty}: android.view.InflateException: Binary XML file line #301: Error inflating class android.support.design.widget.FloatingActionButton
via 28im.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.karaj.project/com.karaj.project.FistActiivty}: android.view.InflateException: Binary XML file line #301: Error inflating class android.support.design.widget.FloatingActionButton
via co.uk by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.karaj.project/com.karaj.project.FistActiivty}: android.view.InflateException: Binary XML file line #301: Error inflating class android.support.design.widget.FloatingActionButton
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.mutha.myapplication/com.example.mutha.myapplication.view.activity.MainActivity}: android.view.InflateException: Binary XML file line #122: Error inflating class android.support.design.widget.FloatingActionButton
at android.content.res.Resources.loadDrawable(Resources.java:2063)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.widget.ImageView.(ImageView.java:127)
at android.widget.ImageButton.(ImageButton.java:87)
at android.support.design.widget.VisibilityAwareImageButton.(VisibilityAwareImageButton.java:36)
at android.support.design.widget.FloatingActionButton.(FloatingActionButton.java:151)
at android.support.design.widget.FloatingActionButton.(FloatingActionButton.java:147)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
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.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
at com.example.mutha.myapplication.view.activity.MainActivity.onCreate(MainActivity.java:49)
at android.app.Activity.performCreate(Activity.java:5133)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
28 times, 7 months ago
17 times, 8 months ago
26 more bugmates

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