java.lang.RuntimeException: Unable to start activity ComponentInfo{com.revittechnology.zapdos/com.revittechnology.zapdos.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class fragment

Stack Overflow | Maihan Nijat | 7 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

    Android application crashes with orientation change

    Stack Overflow | 7 months ago | Maihan Nijat
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.revittechnology.zapdos/com.revittechnology.zapdos.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class fragment
  2. 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
  3. 0

    IllegalStateException when replacing a Fragment

    Stack Overflow | 6 years ago | Angel
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.agm.test/com.agm.test.MainFragmentActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Fragments Getting Crash in Android 4.2.2 Device

    Stack Overflow | 4 years ago | Software Sainath
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dharani.android.legalplex/com.dharani.android.legalplex.PresentationLayer.Tablet.MainScreen}: android.view.InflateException: Binary XML file line #416: Error inflating class fragment
  6. 0

    Android + Google API v2 + app not launched

    Stack Overflow | 4 years ago | user2254979
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.googlemapv2/com.example.googlemapv2.MainActivity}: android.view.InflateException: Binary XML file line #7: 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 com.revittechnology.zapdos.MainFragment 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:356)
      4. android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:31)
      5. android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:79)
      5 frames
    3. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
      2. android.view.LayoutInflater.rInflate(LayoutInflater.java:762)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:771)
      4. android.view.LayoutInflater.rInflate(LayoutInflater.java:771)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:499)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:398)
      7. android.view.LayoutInflater.inflate(LayoutInflater.java:354)
      7 frames
    4. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:331)
      1 frame
    5. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:2018)
      1 frame
    6. com.revittechnology.zapdos
      MainActivity.onCreate
      1. com.revittechnology.zapdos.MainActivity.onCreate(MainActivity.java:13)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5447)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2393)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2493)
      5. android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4014)
      6. android.app.ActivityThread.access$900(ActivityThread.java:166)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1289)
      8. android.os.Handler.dispatchMessage(Handler.java:102)
      9. android.os.Looper.loop(Looper.java:136)
      10. android.app.ActivityThread.main(ActivityThread.java:5590)
      10 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1280)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1096)
      2 frames
    10. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame