java.lang.RuntimeException: Unable to start activity ComponentInfo{ua.provectus.mobile_project.proveng/ua.provectus.mobile_project.proveng.activities.MainActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class fragment

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

Samebug tips

,
via github.io by Unknown author

You need to setup a GlideModule before use Glide.

Solutions on the web

via Stack Overflow by Alexander Smityuk
, 1 year ago
Unable to start activity ComponentInfo{ua.provectus.mobile_project.proveng/ua.provectus.mobile_project.proveng.activities.MainActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class fragment
via Stack Overflow by user2828965
, 2 years ago
Unable to start activity ComponentInfo{com.example.chris.drawingtest/com.example.chris.drawingtest.DrawingActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class fragment
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{matrialdesign.practice.com.materialdesignpractice/matrialdesign.practice.com.materialdesignpractice.MaterialDesign}: android.view.InflateException: Binary XML file line #21: Error inflating class fragment
via Stack Overflow by cbaspree
, 1 year ago
Unable to start activity ComponentInfo{RecordActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class fragment
via GitHub by BasDV
, 2 years ago
Unable to start activity ComponentInfo{nl.scouting.hit.app/nl.scouting.hit.app.Main}: android.view.InflateException: Binary XML file line #29: Error inflating class fragment
via GitHub by sampalmer
, 6 months ago
Unable to start activity ComponentInfo{samuelpalmer.sensorautorotation/samuelpalmer.sensorautorotation.processes.ui.MainActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class fragment
java.lang.RuntimeException: Unable to start activity ComponentInfo{ua.provectus.mobile_project.proveng/ua.provectus.mobile_project.proveng.activities.MainActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class fragment
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at android.app.Fragment.instantiate(Fragment.java)
at android.app.Fragment.instantiate(Fragment.java)
at android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:34)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java)
at android.view.LayoutInflater.rInflate(LayoutInflater.java)
at android.view.LayoutInflater.inflate(LayoutInflater.java)
at android.view.LayoutInflater.inflate(LayoutInflater.java)
at android.view.LayoutInflater.inflate(LayoutInflater.java)
at ua.provectus.mobile_project.proveng.activities.MainActivity.onCreate(MainActivity.java:21)
at android.app.Activity.performCreate(Activity.java)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
at android.app.ActivityThread.access$800(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)

Users with the same issue

2 times, 5 months ago
16 times, 1 year ago
6 times, 4 months ago
18 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
165 more bugmates

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