java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/cardview/R$styleable;

xamarin.com | 6 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

    Xamarin Android Support v7 Cardview Sample Fails

    Stack Overflow | 9 months ago | dennisasamoahowusu
    java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/cardview/R$styleable;
  2. 0

    Xamarin Android Support v7 Cardview SAMPLE Fails — Xamarin Forums

    xamarin.com | 6 months ago
    java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/cardview/R$styleable;
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Log window crashes

    GitHub | 2 years ago | Zillode
    java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.ShareActionProvider" on path: DexPathList[[zip file "/data/app/com.nutomic.syncthingandroid-2/base.apk"],nativeLibraryDirectories=[/data/app/com.nutomic.syncthingandroid-2/lib/arm, /vendor/lib, /system/lib]]
  5. 0

    Android SnackBar giving exception and not working - yuluer.com

    yuluer.com | 8 months ago
    java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/design/R$layout;
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.cardview.R$styleable" on path: DexPathList[[zip file "/data/app/com.xamarin.supportv7cardview.sample-1/base.apk"],nativeLibraryDirectories=[/data/app/com.xamarin.supportv7cardview.sample-1/lib/arm, /vendor/lib, /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:511)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    2 frames
  4. Android v7
    CardView.<init>
    1. android.support.v7.widget.CardView.initialize(CardView.java:203)
    2. android.support.v7.widget.CardView.<init>(CardView.java:101)
    2 frames
  5. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:288)
    2 frames
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:607)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:504)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:414)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:365)
    6 frames
  7. Android
    PhoneWindow.setContentView
    1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:377)
    1 frame
  8. Android Platform
    Activity.setContentView
    1. android.app.Activity.setContentView(Activity.java:2153)
    1 frame
  9. md5b5c4d68d7f0084075bca6dac9c5e1a71
    MainActivity.onCreate
    1. md5b5c4d68d7f0084075bca6dac9c5e1a71.MainActivity.n_onCreate(Native Method)
    2. md5b5c4d68d7f0084075bca6dac9c5e1a71.MainActivity.onCreate(MainActivity.java:28)
    2 frames
  10. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5976)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
    5. android.app.ActivityThread.access$800(ActivityThread.java:144)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:135)
    9. android.app.ActivityThread.main(ActivityThread.java:5221)
    9 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
    2 frames