java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ia.grafp.maturapp/com.ia.grafp.maturapp.MainActivity}: android.view.InflateException: Binary XML file line #22: 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

Solutions on the web

via Stack Overflow by Sphinx64
, 1 year ago
Unable to start activity ComponentInfo{com.ia.grafp.maturapp/com.ia.grafp.maturapp.MainActivity}: android.view.InflateException: Binary XML file line #22: Error inflating class fragment
via Stack Overflow by Ahmed Atwa
, 1 year ago
Unable to start activity ComponentInfo{com.example.ahmed.popularmovies/com.example.ahmed.popularmovies.MainActivity}: android.view.InflateException: Binary XML file line #22: Error inflating class fragment
via blogspot.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.example.ahmed.popularmovies/com.example.ahmed.popularmovies.MainActivity}: android.view.InflateException: Binary XML file line #22: Error inflating class fragment
via Stack Overflow by KT79
, 2 years ago
Unable to start activity ComponentInfo{uk.co.XXXX.EditFactFind}: android.view.InflateException: Binary XML file line #80: Error inflating class fragment
via blogspot.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{uk.co.XXXX.EditFactFind}: android.view.InflateException: Binary XML file line #80: Error inflating class fragment
via GitHub by allan1st
, 2 years ago
Unable to start activity ComponentInfo{MY_PACKAGE_NAME/com.mixpanel.android.surveys.SurveyActivity}: android.view.InflateException: Binary XML file line #22: Error inflating class <unknown>
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ia.grafp.maturapp/com.ia.grafp.maturapp.MainActivity}: android.view.InflateException: Binary XML file line #22: Error inflating class fragment
at android.support.v4.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2319)
at android.support.v4.app.FragmentController.onCreateView(FragmentController.java:120)
at android.support.v4.app.FragmentActivity.dispatchFragmentsOnCreateView(FragmentActivity.java:357)
at android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:31)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:733)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276)
at com.ia.grafp.maturapp.MainActivity.onCreate(MainActivity.java:16)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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