android.view.InflateException: Binary XML file line #19: Binary XML file line #19: Error inflating class android.support.design.widget.CoordinatorLayout

cyanogenmod.org | 7 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

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

    cyanogenmod.org | 11 months ago
    android.view.InflateException: Binary XML file line #19: Binary XML file line #19: 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 | 9 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

    Android application error (Activity Main)

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

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

    Stack Overflow | 6 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
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:178)
    3. android.support.design.widget.CoordinatorLayout.<init>(CoordinatorLayout.java:172)
    3 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Native Method)
    1 frame
  4. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:619)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
    3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    5 frames
  5. com.android.dialer
    CallStatsFragment.onCreateView
    1. com.android.dialer.callstats.CallStatsFragment.onCreateView(CallStatsFragment.java:111)
    1 frame
  6. Android Platform
    FragmentManagerImpl.executePendingTransactions
    1. android.app.Fragment.performCreateView(Fragment.java:2220)
    2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:973)
    3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1148)
    4. android.app.BackStackRecord.run(BackStackRecord.java:793)
    5. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1535)
    6. android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:562)
    6 frames
  7. android-support-v13
    FragmentPagerAdapter.finishUpdate
    1. android.support.v13.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:145)
    1 frame
  8. Android Support v4
    ViewPager.setCurrentItem
    1. android.support.v4.view.ViewPager.populate(ViewPager.java:1130)
    2. android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:559)
    3. android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:521)
    4. android.support.v4.view.ViewPager.setCurrentItem(ViewPager.java:502)
    4 frames
  9. com.android.contacts
    ViewPagerTabs$2.onclick
    1. com.android.contacts.common.list.ViewPagerTabs$2.onclick(ViewPagerTabs.java:190)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:5204)
    2. android.view.View$PerformClick.run(View.java:21158)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:148)
    6. android.app.ActivityThread.main(ActivityThread.java:5461)
    6 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames