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

Stack Overflow | Farhan | 5 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

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

    Stack Overflow | 5 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
  2. 0

    Displaying map: app crashes

    Stack Overflow | 11 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

    How to put FloatingActionButton to Fragment?

    Stack Overflow | 6 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
  6. 0

    Android app crashing on device using Google Map

    Stack Overflow | 1 year ago | Amir
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jorc.fleetmanagement/com.jorc.fleetmanagement.MainActivity}: android.view.InflateException: Binary XML file line #20: Error inflating class fragment
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:763)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
    3. android.view.LayoutInflater.parseInclude(LayoutInflater.java:916)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:802)
    5. android.view.LayoutInflater.parseInclude(LayoutInflater.java:916)
    6. android.view.LayoutInflater.rInflate(LayoutInflater.java:802)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:504)
    8. android.view.LayoutInflater.inflate(LayoutInflater.java:414)
    9. android.view.LayoutInflater.inflate(LayoutInflater.java:365)
    9 frames
  3. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:256)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109)
    2 frames
  4. com.example.nabeelfarooq
    MainActivity.onCreate
    1. com.example.nabeelfarooq.mapsnavapplication.MainActivity.onCreate(MainActivity.java:59)
    1 frame
  5. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:5966)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2408)
    3 frames