Hi all,
I have problem with loading google map when click on Menu Item. When click
on menu item every time it give this error:
11-20 14:38:08.877: ERROR/AndroidRuntime(428):
java.lang.NoClassDefFoundError: com.chandana.testcode.ChandanaActivity
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
com.chandana.Test.testcode.loadMap(testcode.java:262)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
com.chandana.Test.testcode.onMenuItemSelected(testcode.java:241)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:730)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:139)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:525)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java:122)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
android.view.View.onTouchEvent(View.java:4179)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
android.widget.TextView.onTouchEvent(TextView.java:6540)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
android.view.View.dispatchTouchEvent(View.java:3709)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
android.os.Handler.dispatchMessage(Handler.java:99)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
android.os.Looper.loop(Looper.java:123)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
android.app.ActivityThread.main(ActivityThread.java:4363)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
java.lang.reflect.Method.invokeNative(Native Method)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
java.lang.reflect.Method.invoke(Method.java:521)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
11-20 14:38:08.877: ERROR/AndroidRuntime(428): at
dalvik.system.NativeStart.main(Native Method)
11-20 14:38:10.917: WARN/InputManagerService(58): Got RemoteException
sending setActive(false) notification to pid 428 uid 10026
My Load Map code is:
private void loadMap() {
Intent mapInt= new Intent(getApplicationContext(),
ChandanaActivity.class);
this.startActivity(mapInt);
}
Any one know why this happned?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en