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

Stack Overflow | Sphinx64 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    AppCompatDialogFragment did not create a View

    Stack Overflow | 6 months ago | Sphinx64
    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
  2. 0

    Android - "IllegalStateException: Fragment Did Not Create a View" on Startup

    Stack Overflow | 1 year ago | Stephen Vernyi
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.spielpark.steve.bernieapp/com.spielpark.steve.bernieapp.actMainPage}: android.view.InflateException: Binary XML file line #18: Error inflating class fragment
  3. 0

    Android AppcompatActivity with fragments crashes after bringing from background(need to wait couple minutes)

    Stack Overflow | 1 year ago | Arutha
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.app/com.example.app.PersonalityTestFlow.SurveyMainFragment}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    illegalstateexception: Fragment 'foo' did not create a view

    GitHub | 4 years ago | davidjorgensen
    java.lang.RuntimeException: Unable to start activity ComponentInfo{se.tre.android.friendtones/dk.shape.friendtones.MainActivity_}: android.view.InflateException: Binary XML file line #8: Error inflating class fragment
  6. 0

    Having an issue with GoogleMap v2 crashing app on orientation change

    Stack Overflow | 3 years ago | EbonKaiser
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.meetball_1/com.meetball_1.HomeActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class fragment

    3 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.IllegalStateException

      Fragment android.support.v7.app.AppCompatDialogFragment did not create a view.

      at android.support.v4.app.FragmentManagerImpl.onCreateView()
    2. Android Support v4
      FragmentActivity.onCreateView
      1. android.support.v4.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2319)
      2. android.support.v4.app.FragmentController.onCreateView(FragmentController.java:120)
      3. android.support.v4.app.FragmentActivity.dispatchFragmentsOnCreateView(FragmentActivity.java:357)
      4. android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:31)
      5. android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:80)
      5 frames
    3. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:733)
      2. android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:504)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:414)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:365)
      5 frames
    4. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276)
      2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:136)
      2 frames
    5. com.ia.grafp
      MainActivity.onCreate
      1. com.ia.grafp.maturapp.MainActivity.onCreate(MainActivity.java:16)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5990)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
      5. android.app.ActivityThread.access$800(ActivityThread.java:151)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:135)
      9. android.app.ActivityThread.main(ActivityThread.java:5254)
      9 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
      2 frames