java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/os/BuildCompat NoClassDefFoundError: Failed resolution of: Landroid/support/v4/os/BuildCompat; java.lang.NoClassDefFoundError: android.support.v4.content.LocalBroadcastManager facebook android app Error : java.lang.NoClassDefFoundError Android https://github.com/freshplanet/ANE-Facebook/issues/201 However i have been unsuccessful in fixing this issue.The above links suggested cleaning, rebuilding, invalidating and restarting. The error report i am getting is as follows: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/os/BuildCompat;

Stack Overflow | GeniusGeek | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0
    samebug tip
    This is caused by using legacy commands from older versions of Firebase. Look for the new documentation and try using only the new SDK
  2. 0

    react-native java.lang.NoSuchMethodError: No static method

    GitHub | 5 months ago | zhuxiaogit
    java.lang.NoSuchMethodError: No static method isDeviceProtectedStorage(Landroid/content/Context;)Z in class Landroid/support/v4/content/ContextCompat; or its super classes (declaration of 'android.support.v4.content.ContextCompat' appears in /data/app/com.reduxtest-1/base.apk)
  3. 0

    android crash - runtime exception when trying to run app first time

    GitHub | 4 months ago | zoharlevin
    java.lang.NoSuchMethodError: No static method isDeviceProtectedStorage(Landroid/content/Context;)Z in class Landroid/support/v4/content/ContextCompat; or its super classes (declaration of 'android.support.v4.content.ContextCompat' appears in
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to make multidex enabled on an Android project in Eclipse WITHOUT Gradle

    Stack Overflow | 3 months ago | AP01
    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/R$string; 01-12 15:31:49.874: E/AndroidRuntime(8125):
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.v4.os.BuildCompat" on path: DexPathList[[zip file "/data/app/pinnacle.org.rider-1/base.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_dependencies_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_0_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_1_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_2_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_3_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_4_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_5_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_6_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_7_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_8_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/pinnacle.org.rider-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 Support v4
    ContextCompat.isDeviceProtectedStorage
    1. android.support.v4.content.ContextCompat.isDeviceProtectedStorage(ContextCompat.java:565)
    1 frame
  5. com.google.firebase
    FirebaseInitProvider.onCreate
    1. com.google.firebase.FirebaseApp.zza(Unknown Source)
    2. com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
    3. com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
    4. com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
    5. com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source)
    5 frames
  6. Android Platform
    ContentProvider.attachInfo
    1. android.content.ContentProvider.attachInfo(ContentProvider.java:1751)
    2. android.content.ContentProvider.attachInfo(ContentProvider.java:1726)
    2 frames
  7. com.google.firebase
    FirebaseInitProvider.attachInfo
    1. com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.installProvider(ActivityThread.java:5324)
    2. android.app.ActivityThread.installContentProviders(ActivityThread.java:4898)
    3. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4838)
    4. android.app.ActivityThread.access$1500(ActivityThread.java:178)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1536)
    6. android.os.Handler.dispatchMessage(Handler.java:111)
    7. android.os.Looper.loop(Looper.java:194)
    8. android.app.ActivityThread.main(ActivityThread.java:5636)
    8 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:959)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
    2 frames