java.lang.NoClassDefFoundError: Failed resolution of: Lcom/facebook/android/R$layout;

intel.com | 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

    Intel XDK Android Crosswalk app crashes on Facebook Connect plugin login function invoke

    intel.com | 7 months ago
    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/facebook/android/R$layout;
  2. 0

    Cordova build fails after adding Facebook Plugin to Android Project

    GitHub | 3 years ago | confile
    java.lang.NoClassDefFoundError: com/facebook/android/R$layout
  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 "com.facebook.android.R$layout" on path: DexPathList[[zip file "/data/app/com.package.name-1/base.apk"],nativeLibraryDirectories=[/data/app/com.package.name-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. com.facebook
    LoginActivity.onCreate
    1. com.facebook.LoginActivity.onCreate(LoginActivity.java:57)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6289)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2777)
    5. android.app.ActivityThread.access$900(ActivityThread.java:179)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1462)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:145)
    9. android.app.ActivityThread.main(ActivityThread.java:5972)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
    2 frames