java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Vivek Fitkariwala,
  • 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)
    via by Vivek Fitkariwala,
  • Log window crashes
    via GitHub by Zillode
    ,
  • Convert docx to html in Android
    via Stack Overflow by ItsTimaiFool
    ,
  • CLog is not included
    via GitHub by ndahlquist
    ,
    • 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)

    Users with the same issue

    Unknown User
    1 times, last one,
    Indri Yunita
    1 times, last one,
    winer222
    80 times, last one,
    ahmed
    6 times, last one,
    Unknown visitor1 times, last one,
    155 more bugmates