Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError

  • 0

I see an information log in my console that looks like an error. It is printed from “art”, which is generally associated to memory but I need help understanding what it means. The class in question is my MapFragment class. The MapFragment is a custom class I created that extends SupportMapFragment so that I can override touch events. Is this class causing this issue, and how can I resolve?

Here is my MapFragment class

The error I am receiving is,

Rejecting re-init on previously-failed class java.lang.Class<nt>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/chimera/Fragment;
     at java.lang.Class dalvik.system.DexFile.defineClassNative(java.lang.String, java.lang.ClassLoader, java.lang.Object, dalvik.system.DexFile) (DexFile.java:-2)
Share This Post
Share
  1. java.lang.NoClassDefFoundError indicates, that something was found at compiletime but not at runtime. Maybe you just have to add it to the Classpath.

    Right click on your project and select -> Compile Module, and then re-start the project and it should work again.

    • 0
Leave an answer

Leave an answer

Browse

close