android.view.InflateException: Binary XML file line #2: Error inflating class android.support.v7.widget.CardView

Stack Overflow | Suraj Adhiraj | 8 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

    ClassNotFoundException for class CardView cause app crashing

    Stack Overflow | 8 months ago | Suraj Adhiraj
    android.view.InflateException: Binary XML file line #2: Error inflating class android.support.v7.widget.CardView
  2. 0

    Error during inflating

    GitHub | 3 years ago | devilmac
    android.view.InflateException: Binary XML file line #8: Error inflating class com.fortysevendeg.android.SwipeListView
  3. 0

    Error running draggable panel demo

    GitHub | 3 years ago | manpreetsinghsodhi
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.demo/com.example.demo.MainActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class com.github.pedrovgs.DraggablePanel
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DraggablePanel error

    GitHub | 3 years ago | achinverma
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.demo/com.example.demo.MainActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class com.github.pedrovgs.DraggablePanel
  6. 0

    java.lang.ClassNotFoundException: Didn't find class "com.jfeinstein.jazzyviewpager.JazzyViewPager" on path: /data/app/com.eteach.sol-1.apk

    GitHub | 3 years ago | atulagrwl
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.eteach.sol/com.eteach.sol.MainActivity}: android.view.InflateException: Binary XML file line #10: Error inflating class com.jfeinstein.jazzyviewpager.JazzyViewPager
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.ClassNotFoundException

    Didn't find class "android.support.v7.widget.CardView" on path: DexPathList[[zip file "/data/app/com.lic.smarttab-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.lic.smarttab-1, /system/lib]]

    at dalvik.system.BaseDexClassLoader.findClass()
  2. Android Platform
    BaseDexClassLoader.findClass
    1. dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    1 frame
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:497)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:457)
    2 frames
  4. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:559)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697)
    3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:708)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:469)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    6 frames
  5. com.lic.smarttab
    AbtOzarAdapter.getView
    1. com.lic.smarttab.AbtOzarAdapter.getView(AbtOzarAdapter.java:58)
    1 frame
  6. Android Platform
    AbsListView.obtainView
    1. android.widget.AbsListView.obtainView(AbsListView.java:2263)
    1 frame