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

Stack Overflow | codehub | 4 months ago
  1. 0

    custom theme design problems in android

    Stack Overflow | 4 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
  2. 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
  3. 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
  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

    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
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:184)
    3. android.support.design.widget.CoordinatorLayout.<init>(CoordinatorLayout.java:178)
    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:614)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:750)
    3. android.view.LayoutInflater.parseInclude(LayoutInflater.java:904)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:511)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:415)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:366)
    7 frames
  5. 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
  6. assetviewer.findergpstracking.com
    HomeActivity.onCreate
    1. assetviewer.findergpstracking.com.finder.activity.HomeActivity.onCreate(HomeActivity.java:152)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6550)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1120)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3077)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3233)
    5. android.app.ActivityThread.access$1000(ActivityThread.java:197)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:145)
    9. android.app.ActivityThread.main(ActivityThread.java:6856)
    9 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
    2 frames