java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.urvashirohilla.sunshine.app/com.example.urvashirohilla.sunshine.app.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment

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

    Show Fragment in Activity - class cannot be instantiated

    Stack Overflow | 8 months ago | Shashank Rohilla
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.urvashirohilla.sunshine.app/com.example.urvashirohilla.sunshine.app.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
  2. 0

    [RĂ©solu] Android - Lancer un fragment

    openclassrooms.com | 8 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.stphen.broketrip/com.example.stphen.broketrip.activity.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
  3. 0

    android.view.InflateException: Binary XML file line #19: Error inflating class fragment

    Stack Overflow | 11 months ago | Prashanth Ambati
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.idiots.redundant.digiteyes_beacon/com.idiots.redundant.digiteyes_beacon.Exxplore}: android.view.InflateException: Binary XML file line #19: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    IncompatibleClassChangeError: android.support.design.internal.NavigationMenuView

    Stack Overflow | 1 year ago | ligi
    android.view.InflateException: Binary XML file line #28: Error inflating class android.support.design.widget.NavigationView
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 #11: 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.inflate(LayoutInflater.java:504)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:414)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:365)
    5 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.urvashirohilla
    MainActivity.onCreate
    1. com.example.urvashirohilla.sunshine.app.MainActivity.onCreate(MainActivity.java:15)
    1 frame
  5. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:5990)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
    3 frames