java.lang.ClassNotFoundException: org.xwalk.core.R$string

JIRA | Alex Chen | 2 years ago
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    This exception normally means you either have to add the said class to your dependencies or you miswrote it. Look in the documentation of your library how to add it as a dependency.
  2. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>
  3. 0
    samebug tip
    This was caused by a failure to instantiate Kafka broker. Check your dependencies.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.
  6. 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( at org.xwalk.core.XWalkUpdater.updateXWalkRuntime( at org.xwalk.core.XWalkActivityDelegate.onDockFailed( at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute( at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute( at android.os.AsyncTask.finish( at android.os.AsyncTask.access$600( at android.os.AsyncTask$InternalHandler.handleMessage( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke( at$ at 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( at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass(             at org.xwalk.core.XWalkDialogManager.showInitializationError(             at org.xwalk.core.XWalkUpdater.updateXWalkRuntime(             at org.xwalk.core.XWalkActivityDelegate.onDockFailed(             at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute(             at org.xwalk.core.XWalkLibraryLoader$DockTask.onPostExecute(             at android.os.AsyncTask.finish(             at android.os.AsyncTask.access$600(             at android.os.AsyncTask$InternalHandler.handleMessage(             at android.os.Handler.dispatchMessage(             at android.os.Looper.loop(             at             at java.lang.reflect.Method.invoke(Native Method)             at java.lang.reflect.Method.invoke(             at$             at Suppressed: java.lang.ClassNotFoundException: org.xwalk.core.R$string at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass( at java.lang.BootClassLoader.loadClass( at java.lang.ClassLoader.loadClass(

    JIRA | 2 years ago | Vivek Fitkariwala
    java.lang.ClassNotFoundException: org.xwalk.core.R$string

  1. rsprangemeijer 6 times, last 2 days ago
  2. marcbouvierdav 26 times, last 4 days ago
  3. batwalrus76 12 times, last 4 days ago
  4. musketyr 1 times, last 5 days ago
  5. SteVio1989 4 times, last 6 days ago
69 more registered users
26 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


    at java.lang.Class.classForName()
  2. Java RT
    1. java.lang.Class.classForName(Native Method)
    2. java.lang.BootClassLoader.findClass(
    3. java.lang.BootClassLoader.loadClass(
    4. java.lang.ClassLoader.loadClass(
    4 frames