java.lang.NoClassDefFoundError: Failed resolution of: Lorg/xwalk/core/R$string;

JIRA | Alex Chen | 2 years 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

    Impacted Cases ============== Reproduce Test Steps ==================== adb install -r out/Release/apks/XWalkRuntimeLib.apk adb install -r out/Release/apks/XWalkRuntimeClientShell.apk adb shell am start -n org.xwalk.runtime.client.shell/org.xwalk.runtime.client.shell.XWalkRuntimeClientShellActivity Expected Outcome ================ runtime shell start normally. Actual Outcome ============== I/ActivityManager( 570): Start proc 2608:org.xwalk.runtime.client.shell/u0a55 for activity org.xwalk.runtime.client.shell/.XWalkRuntimeClientShellActivity D/XWalkLib( 2608): Prepare to init core wrapper D/XWalkLib( 2608): DecompressTask started D/AndroidRuntime( 2608): Shutting down VM E/AndroidRuntime( 2608): FATAL EXCEPTION: main E/AndroidRuntime( 2608): Process: org.xwalk.runtime.client.shell, PID: 2608 E/AndroidRuntime( 2608): java.lang.NoClassDefFoundError: Failed resolution of: Lorg/xwalk/core/R$string; E/AndroidRuntime( 2608): at org.xwalk.core.XWalkDialogManager.showDecompressProgress(XWalkDialogManager.java:91) E/AndroidRuntime( 2608): at org.xwalk.core.XWalkActivityDelegate.onDecompressStarted(XWalkActivityDelegate.java:39) E/AndroidRuntime( 2608): at org.xwalk.core.XWalkLibraryLoader$DecompressTask.onPreExecute(XWalkLibraryLoader.java:232) E/AndroidRuntime( 2608): at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:591) E/AndroidRuntime( 2608): at android.os.AsyncTask.execute(AsyncTask.java:539) E/AndroidRuntime( 2608): at org.xwalk.core.XWalkLibraryLoader.startDecompress(XWalkLibraryLoader.java:153) E/AndroidRuntime( 2608): at org.xwalk.core.XWalkActivityDelegate.initialize(XWalkActivityDelegate.java:33) E/AndroidRuntime( 2608): at org.xwalk.core.XWalkActivity.onResume(XWalkActivity.java:113) E/AndroidRuntime( 2608): at org.xwalk.app.XWalkRuntimeActivityBase.onResume(XWalkRuntimeActivityBase.java:59) E/AndroidRuntime( 2608): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1257) E/AndroidRuntime( 2608): at android.app.Activity.performResume(Activity.java:6076) E/AndroidRuntime( 2608): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2975) E/AndroidRuntime( 2608): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3017) E/AndroidRuntime( 2608): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392) E/AndroidRuntime( 2608): at android.app.ActivityThread.access$800(ActivityThread.java:151) E/AndroidRuntime( 2608): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) E/AndroidRuntime( 2608): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime( 2608): at android.os.Looper.loop(Looper.java:135) E/AndroidRuntime( 2608): at android.app.ActivityThread.main(ActivityThread.java:5254) E/AndroidRuntime( 2608): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 2608): at java.lang.reflect.Method.invoke(Method.java:372) E/AndroidRuntime( 2608): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) E/AndroidRuntime( 2608): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) E/AndroidRuntime( 2608): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.xwalk.core.R$string" on path: DexPathList[[zip file "/data/app/org.xwalk.runtime.client.shell-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] E/AndroidRuntime( 2608): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) E/AndroidRuntime( 2608): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) E/AndroidRuntime( 2608): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) E/AndroidRuntime( 2608): ... 23 more E/AndroidRuntime( 2608): Suppressed: java.lang.ClassNotFoundException: org.xwalk.core.R$string E/AndroidRuntime( 2608): at java.lang.Class.classForName(Native Method) E/AndroidRuntime( 2608): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) E/AndroidRuntime( 2608): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) E/AndroidRuntime( 2608): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) E/AndroidRuntime( 2608): ... 24 more E/AndroidRuntime( 2608): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available W/ActivityManager( 570): Force finishing activity 1 org.xwalk.runtime.client.shell/.XWalkRuntimeClientShellActivity Test Case Source Code ===================== Test Builds =========== Issue Analysis ==============

    JIRA | 2 years ago | Alex Chen
    java.lang.NoClassDefFoundError: Failed resolution of: Lorg/xwalk/core/R$string;
  2. 0

    Impacted Cases ============== Reproduce Test Steps ==================== adb install -r out/Release/apks/XWalkRuntimeLib.apk adb install -r out/Release/apks/XWalkRuntimeClientShell.apk adb shell am start -n org.xwalk.runtime.client.shell/org.xwalk.runtime.client.shell.XWalkRuntimeClientShellActivity Expected Outcome ================ runtime shell start normally. Actual Outcome ============== I/ActivityManager( 570): Start proc 2608:org.xwalk.runtime.client.shell/u0a55 for activity org.xwalk.runtime.client.shell/.XWalkRuntimeClientShellActivity D/XWalkLib( 2608): Prepare to init core wrapper D/XWalkLib( 2608): DecompressTask started D/AndroidRuntime( 2608): Shutting down VM E/AndroidRuntime( 2608): FATAL EXCEPTION: main E/AndroidRuntime( 2608): Process: org.xwalk.runtime.client.shell, PID: 2608 E/AndroidRuntime( 2608): java.lang.NoClassDefFoundError: Failed resolution of: Lorg/xwalk/core/R$string; E/AndroidRuntime( 2608): at org.xwalk.core.XWalkDialogManager.showDecompressProgress(XWalkDialogManager.java:91) E/AndroidRuntime( 2608): at org.xwalk.core.XWalkActivityDelegate.onDecompressStarted(XWalkActivityDelegate.java:39) E/AndroidRuntime( 2608): at org.xwalk.core.XWalkLibraryLoader$DecompressTask.onPreExecute(XWalkLibraryLoader.java:232) E/AndroidRuntime( 2608): at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:591) E/AndroidRuntime( 2608): at android.os.AsyncTask.execute(AsyncTask.java:539) E/AndroidRuntime( 2608): at org.xwalk.core.XWalkLibraryLoader.startDecompress(XWalkLibraryLoader.java:153) E/AndroidRuntime( 2608): at org.xwalk.core.XWalkActivityDelegate.initialize(XWalkActivityDelegate.java:33) E/AndroidRuntime( 2608): at org.xwalk.core.XWalkActivity.onResume(XWalkActivity.java:113) E/AndroidRuntime( 2608): at org.xwalk.app.XWalkRuntimeActivityBase.onResume(XWalkRuntimeActivityBase.java:59) E/AndroidRuntime( 2608): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1257) E/AndroidRuntime( 2608): at android.app.Activity.performResume(Activity.java:6076) E/AndroidRuntime( 2608): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2975) E/AndroidRuntime( 2608): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3017) E/AndroidRuntime( 2608): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392) E/AndroidRuntime( 2608): at android.app.ActivityThread.access$800(ActivityThread.java:151) E/AndroidRuntime( 2608): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) E/AndroidRuntime( 2608): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime( 2608): at android.os.Looper.loop(Looper.java:135) E/AndroidRuntime( 2608): at android.app.ActivityThread.main(ActivityThread.java:5254) E/AndroidRuntime( 2608): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 2608): at java.lang.reflect.Method.invoke(Method.java:372) E/AndroidRuntime( 2608): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) E/AndroidRuntime( 2608): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) E/AndroidRuntime( 2608): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.xwalk.core.R$string" on path: DexPathList[[zip file "/data/app/org.xwalk.runtime.client.shell-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] E/AndroidRuntime( 2608): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) E/AndroidRuntime( 2608): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) E/AndroidRuntime( 2608): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) E/AndroidRuntime( 2608): ... 23 more E/AndroidRuntime( 2608): Suppressed: java.lang.ClassNotFoundException: org.xwalk.core.R$string E/AndroidRuntime( 2608): at java.lang.Class.classForName(Native Method) E/AndroidRuntime( 2608): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) E/AndroidRuntime( 2608): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) E/AndroidRuntime( 2608): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) E/AndroidRuntime( 2608): ... 24 more E/AndroidRuntime( 2608): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available W/ActivityManager( 570): Force finishing activity 1 org.xwalk.runtime.client.shell/.XWalkRuntimeClientShellActivity Test Case Source Code ===================== Test Builds =========== Issue Analysis ==============

    JIRA | 2 years ago | Alex Chen
    java.lang.NoClassDefFoundError: Failed resolution of: Lorg/xwalk/core/R$string;
  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

    Class not found when unmarshalling: com.google.android.gms.auth.api.signin.internal.SignInConfiguration

    Stack Overflow | 1 year ago | kestasb
    java.lang.ClassNotFoundException: com.google.android.gms.auth.api.signin.internal.SignInConfiguration
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 "org.xwalk.core.R$string" on path: DexPathList[[zip file "/data/app/org.xwalk.runtime.client.shell-1/base.apk"],nativeLibraryDirectories=[/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. org.xwalk.core
    XWalkLibraryLoader$DecompressTask.onPreExecute
    1. org.xwalk.core.XWalkDialogManager.showDecompressProgress(XWalkDialogManager.java:91)
    2. org.xwalk.core.XWalkActivityDelegate.onDecompressStarted(XWalkActivityDelegate.java:39)
    3. org.xwalk.core.XWalkLibraryLoader$DecompressTask.onPreExecute(XWalkLibraryLoader.java:232)
    3 frames
  5. Android Platform
    AsyncTask.execute
    1. android.os.AsyncTask.executeOnExecutor(AsyncTask.java:591)
    2. android.os.AsyncTask.execute(AsyncTask.java:539)
    2 frames
  6. org.xwalk.core
    XWalkActivity.onResume
    1. org.xwalk.core.XWalkLibraryLoader.startDecompress(XWalkLibraryLoader.java:153)
    2. org.xwalk.core.XWalkActivityDelegate.initialize(XWalkActivityDelegate.java:33)
    3. org.xwalk.core.XWalkActivity.onResume(XWalkActivity.java:113)
    3 frames
  7. org.xwalk.app
    XWalkRuntimeActivityBase.onResume
    1. org.xwalk.app.XWalkRuntimeActivityBase.onResume(XWalkRuntimeActivityBase.java:59)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1257)
    2. android.app.Activity.performResume(Activity.java:6076)
    3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:2975)
    4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3017)
    5. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392)
    6. android.app.ActivityThread.access$800(ActivityThread.java:151)
    7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
    8. android.os.Handler.dispatchMessage(Handler.java:102)
    9. android.os.Looper.loop(Looper.java:135)
    10. android.app.ActivityThread.main(ActivityThread.java:5254)
    10 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:903)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    2 frames