java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myApp.Name/com.myApp.Name.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayout

Stack Overflow | Shawn | 3 months ago
  1. 0

    Android application error (Activity Main)

    Stack Overflow | 3 months ago | Shawn
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myApp.Name/com.myApp.Name.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayout
  2. 0

    Crash with Clock settings! - LG G3 (GSM) Development - CyanogenMod Forum

    cyanogenmod.org | 7 months ago
    android.view.InflateException: Binary XML file line #19: Binary XML file line #19: Error inflating class android.support.design.widget.CoordinatorLayout
  3. 0

    custom theme design problems in android

    Stack Overflow | 5 months ago | codehub
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp.testing.theme/assetviewer.findergpstracking.com.finder.activity.HomeActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayout
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash with Clock settings! - LG G3 (GSM) Development - CyanogenMod Forum

    cyanogenmod.org | 3 months ago
    android.view.InflateException: Binary XML file line #19: Binary XML file line #19: Error inflating class android.support.design.widget.CoordinatorLayout
  6. 0

    InflateException Error inflating class android.support.design.widget.CoordinatorLayout

    Stack Overflow | 2 months ago | SOAL ABDELDJALLIL
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.atech.a_business/com.atech.a_business.layout.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayout

  1. balajivaishnav 1 times, last 9 months ago
  2. dmitry 1 times, last 8 months ago
22 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.IllegalArgumentException

    You need to use a Theme.AppCompat theme (or descendant) with the design library.

    at android.support.design.widget.ThemeUtils.checkAppCompatTheme()
  2. android.support.design
    CoordinatorLayout.<init>
    1. android.support.design.widget.ThemeUtils.checkAppCompatTheme(ThemeUtils.java:34)
    2. android.support.design.widget.CoordinatorLayout.<init>(CoordinatorLayout.java:182)
    3. android.support.design.widget.CoordinatorLayout.<init>(CoordinatorLayout.java:176)
    3 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:288)
    2 frames
  4. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:611)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:747)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:486)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:418)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:365)
    5 frames
  5. Android
    PhoneWindow.setContentView
    1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:400)
    1 frame
  6. Android Platform
    Activity.setContentView
    1. android.app.Activity.setContentView(Activity.java:2168)
    1 frame
  7. com.myApp.Name
    MainActivity.onCreate
    1. com.myApp.Name.MainActivity.onCreate(MainActivity.java:15)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5975)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2419)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2528)
    5. android.app.ActivityThread.access$800(ActivityThread.java:169)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
    7. android.os.Handler.dispatchMessage(Handler.java:111)
    8. android.os.Looper.loop(Looper.java:194)
    9. android.app.ActivityThread.main(ActivityThread.java:5552)
    9 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:759)
    2 frames