java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.kun.carkila/com.example.kun.carkila.ownerhome}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment

Stack Overflow | J. Shmoe | 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

    How to put FloatingActionButton to Fragment?

    Stack Overflow | 7 months ago | J. Shmoe
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.kun.carkila/com.example.kun.carkila.ownerhome}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment
  2. 0

    Displaying map: app crashes

    Stack Overflow | 12 months ago | gaurav21
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.strings.mapsdisplay/com.strings.mapsdisplay.Mapclass}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment
  3. 0

    RuntimeException: API key not in the <application> element of AndroidManifest.xml

    GitHub | 1 year ago | Aeonitis
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lh.android/com.lh.android.MainActivity}: 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

    Unable to start activity ComponentInfo{Activity}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment

    Stack Overflow | 6 months ago | Farhan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nabeelfarooq.mapsnavapplication/com.example.nabeelfarooq.mapsnavapplication.MainActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment
  6. 0

    Why would adding espresso-contrib cause an InflateException?

    Stack Overflow | 2 years ago | rosegrink
    android.view.InflateException: Binary XML file line #33: Error inflating class android.support.v7.widget.RecyclerView
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. android.view.InflateException

    Binary XML file line #12: Error inflating class fragment

    at android.view.LayoutInflater.createViewFromTag()
  2. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
    3. android.view.LayoutInflater.parseInclude(LayoutInflater.java:839)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:745)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    7 frames
  3. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
    2 frames
  4. com.example.kun
    ownerFragment.onCreateView
    1. com.example.kun.carkila.ownerFragment.onCreateView(ownerFragment.java:127)
    1 frame
  5. Android Support v4
    FragmentActivity.onCreateView
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1974)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1036)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1230)
    4. android.support.v4.app.FragmentManagerImpl.addFragment(FragmentManager.java:1332)
    5. android.support.v4.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2288)
    6. android.support.v4.app.FragmentController.onCreateView(FragmentController.java:120)
    7. android.support.v4.app.FragmentActivity.dispatchFragmentsOnCreateView(FragmentActivity.java:356)
    8. android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:31)
    9. android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:79)
    9 frames
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:689)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
    3. android.view.LayoutInflater.parseInclude(LayoutInflater.java:839)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:745)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    7 frames
  7. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
    2 frames
  8. com.example.kun
    ownerhome.onCreate
    1. com.example.kun.carkila.ownerhome.onCreate(ownerhome.java:12)
    1 frame
  9. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:5231)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
    3 frames