java.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/Graphics2D;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

A required library class, SdkReceiver, is not loaded. Make sure your SDK classpath is configured correctly in the environment variable or use the -cp or -classpath option if running on the command line, to point to your SDK jar files.

,
via github.io by Unknown author

You need to setup a GlideModule before use Glide.

Solutions on the web

via Stack Overflow by Christian Steinmeyer
, 1 year ago
Failed resolution of: Ljava/awt/Graphics2D;
via GitHub by gxmdboy
, 1 year ago
Failed resolution of: Landroid/support/v4/app/FragmentActivity;
via Stack Overflow by Stéphane Trelis
, 1 year ago
Failed resolution of: Landroid/support/v7/app/ActionBarActivity;
via ne.jp by Unknown author, 2 years ago
Failed resolution of: Lorg/apache/tools/ant/Task;
via Stack Overflow by user7160306
, 7 months ago
Failed resolution of: Landroid/support/v7/app/AppCompatDelegateImplV7;
via Android Enthusiasts by user1234
, 7 months ago
Failed resolution of: Landroid/support/v7/app/AppCompatDelegateImplV7;
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/Graphics2D;
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 dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:222)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:215)
at dalvik.system.DexPathList.findClass(DexPathList.java:322)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)

Users with the same issue

18 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
8 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.