java.lang.RuntimeException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Your xml configuration is invalid. Check it with an xml validator.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Android Bottom Sheet Layout XML
    via Stack Overflow by Android Nerd
    ,
  • android - inflaterException in fragment
    via Stack Overflow by user2828965
    ,
  • Why does my map won't work?
    via Stack Overflow by Melissa
    ,
  • Unable to load fragment into activity
    via Stack Overflow by donquixto Dac
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.bottomsheetexample/com.example.bottomsheetexample.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2417) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2469) at android.app.ActivityThread.access$1100(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1362) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:5551) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:730) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayout at android.view.LayoutInflater.createView(LayoutInflater.java:640) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716) at android.view.LayoutInflater.inflate(LayoutInflater.java:489) at android.view.LayoutInflater.inflate(LayoutInflater.java:409) at android.view.LayoutInflater.inflate(LayoutInflater.java:358) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:305) at android.app.Activity.setContentView(Activity.java:1959) at com.example.junaidhassan.bottomsheetexample.MainActivity.onCreate(MainActivity.java:23) at android.app.Activity.performCreate(Activity.java:5310) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2381)

    Users with the same issue

    rp
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    poroszd
    1 times, last one,
    Unknown visitor1 times, last one,
    77 more bugmates