Well, no much information to go on, but since you stated that this
worked for you before,
perhaps the problem that you are running into is that you forgot to
set the uses-library tag
in the Application Manifest file. Here is a link explaining maps
http://code.google.com/android/add-ons/google-apis/maps-overview.html


On Feb 22, 6:22 am, Deepak Kumar <[email protected]> wrote:
> Hi All,
>
>                 I am using a class that extends MapActivity.I got following
> *NoClassDefFoundError *error.
>
>           Uncaught handler: thread main exiting due to uncaught exception
> E/AndroidRuntime( 4538): *java.lang.NoClassDefFoundError*:
> com.permeative.cityessentials.MapPrac
> E/AndroidRuntime( 4538):     at
> com.permeative.cityessentials.MainActCall.onCreate(MainActCall.java:21)
> E/AndroidRuntime( 4538):     at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
> E/AndroidRuntime( 4538):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
> E/AndroidRuntime( 4538):     at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
> E/AndroidRuntime( 4538):     at
> android.app.ActivityThread.access$2200(ActivityThread.java:119)
> E/AndroidRuntime( 4538):     at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
> E/AndroidRuntime( 4538):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> E/AndroidRuntime( 4538):     at android.os.Looper.loop(Looper.java:123)
> E/AndroidRuntime( 4538):     at
> android.app.ActivityThread.main(ActivityThread.java:4363)
> E/AndroidRuntime( 4538):     at java.lang.reflect.Method.invokeNative(Native
> Method)
> E/AndroidRuntime( 4538):     at
> java.lang.reflect.Method.invoke(Method.java:521)
> E/AndroidRuntime( 4538):     at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java: 
> 860)
> E/AndroidRuntime( 4538):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
> E/AndroidRuntime( 4538):     at dalvik.system.NativeStart.main(Native
> Method)
> I/Process ( 1273): Sending signal. PID: 4538 SIG: 3
>
> I am calling MapPrac Class like :-
>
>         Intent myIntent = new Intent(MainActCall.this,
>                 MapPrac.class);
>         startActivityForResult(myIntent, 0);
>
>     But when I have created different project where I am using these class
> MapPrac extends MapActivity then its working Fine.Can anyone tell me where
> actually the problem?

-- 
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

Reply via email to