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

JIRA | Vivek Fitkariwala | 1 year ago
  1. 0

    I am trying to embed XWalkView inside Android project (ant build system). I have added Android webview (ARM) 14.43.343.17 as module inside the project and and trying to add XWalkView but getting this error. I have extended the activity as XWalkActivity as it is telling to using shared mode (though I am using Samsung Note 4 for testing which is arm based processor) This the log I am getting. Please help Process: org.cocos2dx.LearnWorldTemplate, PID: 12688 java.lang.NoClassDefFoundError: Failed resolution of: Lorg/xwalk/core/R$string; at org.xwalk.core.XWalkDialogManager.showInitializationError(XWalkDialogManager.java:61) at org.xwalk.core.XWalkUpdater.updateXWalkRuntime(XWalkUpdater.java:138) at org.xwalk.core.XWalkActivityDelegate.onDockFailed(XWalkActivityDelegate.java:70) at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute(XWalkLibraryLoader.java:222) at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute(XWalkLibraryLoader.java:191) at android.os.AsyncTask.finish(AsyncTask.java:632) at android.os.AsyncTask.access$600(AsyncTask.java:177) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5972) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194) Caused by: java.lang.ClassNotFoundException: Didn't find class "org.xwalk.core.R$string" on path: DexPathList[[zip file "/data/app/org.cocos2dx.LearnWorldTemplate-1/base.apk"],nativeLibraryDirectories=[/data/app/org.cocos2dx.LearnWorldTemplate-1/lib/arm, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469)             at org.xwalk.core.XWalkDialogManager.showInitializationError(XWalkDialogManager.java:61)             at org.xwalk.core.XWalkUpdater.updateXWalkRuntime(XWalkUpdater.java:138)             at org.xwalk.core.XWalkActivityDelegate.onDockFailed(XWalkActivityDelegate.java:70)             at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute(XWalkLibraryLoader.java:222)             at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute(XWalkLibraryLoader.java:191)             at android.os.AsyncTask.finish(AsyncTask.java:632)             at android.os.AsyncTask.access$600(AsyncTask.java:177)             at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)             at android.os.Handler.dispatchMessage(Handler.java:102)             at android.os.Looper.loop(Looper.java:145)             at android.app.ActivityThread.main(ActivityThread.java:5972)             at java.lang.reflect.Method.invoke(Native Method)             at java.lang.reflect.Method.invoke(Method.java:372)             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194) Suppressed: java.lang.ClassNotFoundException: org.xwalk.core.R$string at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504)

    JIRA | 1 year ago | Vivek Fitkariwala
    java.lang.NoClassDefFoundError: Failed resolution of: Lorg/xwalk/core/R$string;
  2. 0

    I am trying to embed XWalkView inside Android project (ant build system). I have added Android webview (ARM) 14.43.343.17 as module inside the project and and trying to add XWalkView but getting this error. I have extended the activity as XWalkActivity as it is telling to using shared mode (though I am using Samsung Note 4 for testing which is arm based processor) This the log I am getting. Please help Process: org.cocos2dx.LearnWorldTemplate, PID: 12688 java.lang.NoClassDefFoundError: Failed resolution of: Lorg/xwalk/core/R$string; at org.xwalk.core.XWalkDialogManager.showInitializationError(XWalkDialogManager.java:61) at org.xwalk.core.XWalkUpdater.updateXWalkRuntime(XWalkUpdater.java:138) at org.xwalk.core.XWalkActivityDelegate.onDockFailed(XWalkActivityDelegate.java:70) at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute(XWalkLibraryLoader.java:222) at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute(XWalkLibraryLoader.java:191) at android.os.AsyncTask.finish(AsyncTask.java:632) at android.os.AsyncTask.access$600(AsyncTask.java:177) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5972) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194) Caused by: java.lang.ClassNotFoundException: Didn't find class "org.xwalk.core.R$string" on path: DexPathList[[zip file "/data/app/org.cocos2dx.LearnWorldTemplate-1/base.apk"],nativeLibraryDirectories=[/data/app/org.cocos2dx.LearnWorldTemplate-1/lib/arm, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469)             at org.xwalk.core.XWalkDialogManager.showInitializationError(XWalkDialogManager.java:61)             at org.xwalk.core.XWalkUpdater.updateXWalkRuntime(XWalkUpdater.java:138)             at org.xwalk.core.XWalkActivityDelegate.onDockFailed(XWalkActivityDelegate.java:70)             at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute(XWalkLibraryLoader.java:222)             at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute(XWalkLibraryLoader.java:191)             at android.os.AsyncTask.finish(AsyncTask.java:632)             at android.os.AsyncTask.access$600(AsyncTask.java:177)             at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)             at android.os.Handler.dispatchMessage(Handler.java:102)             at android.os.Looper.loop(Looper.java:145)             at android.app.ActivityThread.main(ActivityThread.java:5972)             at java.lang.reflect.Method.invoke(Native Method)             at java.lang.reflect.Method.invoke(Method.java:372)             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194) Suppressed: java.lang.ClassNotFoundException: org.xwalk.core.R$string at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504)

    JIRA | 1 year ago | Vivek Fitkariwala
    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

    Android SnackBar giving exception and not working - yuluer.com

    yuluer.com | 5 months ago
    java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/design/R$layout;
  5. 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]]

  1. Indri Yunita 1 times, last 1 week ago
  2. filpgame 2 times, last 2 weeks ago
  3. dealloc 5 times, last 2 weeks ago
  4. Alexandru Popa 8 times, last 2 weeks ago
  5. syntech16 1 times, last 1 month ago
48 more registered users
47 unregistered visitors
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.cocos2dx.LearnWorldTemplate-1/base.apk"],nativeLibraryDirectories=[/data/app/org.cocos2dx.LearnWorldTemplate-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