Android google maps “NoClassDefFound”-Collection of common programming errors

i already put in the application tag.

when im trying to move to this activity i got crash.

this is my java file:

**

import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;
import android.os.Bundle;

public class MyMap extends MapActivity {   

    @Override  
    public void onCreate(Bundle savedInstanceState) { 

        super.onCreate(savedInstanceState);  
        setContentView(R.layout.mapactivity);  
    }  

    @Override  
    protected boolean isRouteDisplayed() {  
        return false;  
    }  
}

and this is my xml file: (at my_api_key i got my own key that i got from google)




    



and when i go to the editor in eclipse i see: http://i.stack.imgur.com/eUUHb.jpg

thanks.

the full stack trace: 03-08 07:06:10.554: E/AndroidRuntime(18227): java.lang.NoClassDefFoundError: Fproj.dnlgby.MyMap 03-08 07:06:10.554: E/AndroidRuntime(18227): at Fproj.dnlgby.MenuActivity.onClick(MenuActivity.java:60) 03-08 07:06:10.554: E/AndroidRuntime(18227): at android.view.View.performClick(View.java:2496) 03-08 07:06:10.554: E/AndroidRuntime(18227): at android.view.View$PerformClick.run(View.java:9120) 03-08 07:06:10.554: E/AndroidRuntime(18227): at android.os.Handler.handleCallback(Handler.java:587) 03-08 07:06:10.554: E/AndroidRuntime(18227): at android.os.Handler.dispatchMessage(Handler.java:92) 03-08 07:06:10.554: E/AndroidRuntime(18227): at android.os.Looper.loop(Looper.java:130) 03-08 07:06:10.554: E/AndroidRuntime(18227): at android.app.ActivityThread.main(ActivityThread.java:3859) 03-08 07:06:10.554: E/AndroidRuntime(18227): at java.lang.reflect.Method.invokeNative(Native Method) 03-08 07:06:10.554: E/AndroidRuntime(18227): at java.lang.reflect.Method.invoke(Method.java:507) 03-08 07:06:10.554: E/AndroidRuntime(18227): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:840) 03-08 07:06:10.554: E/AndroidRuntime(18227): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:598) 03-08 07:06:10.554: E/AndroidRuntime(18227): at dalvik.system.NativeStart.main(Native Method) 03-08 07:06:10.554: E/AndroidRuntime(18227): Caused by: java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation 03-08 07:06:10.554: E/AndroidRuntime(18227): at dalvik.system.DexFile.defineClass(Native Method) 03-08 07:06:10.554: E/AndroidRuntime(18227): at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:207) 03-08 07:06:10.554: E/AndroidRuntime(18227): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:200) 03-08 07:06:10.554: E/AndroidRuntime(18227): at java.lang.ClassLoader.loadClass(ClassLoader.java:551) 03-08 07:06:10.554: E/AndroidRuntime(18227): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) 03-08 07:06:10.554: E/AndroidRuntime(18227): … 12 more