Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NoClassDefFoundError in mapActivity

Tags:

android

i have this error in my map app.do you know what is wrong?i have checked and the package is right in my .java files and also i have put the uses-libraries of google maps into my application tag in the manifest.xml..please help,im trying hours to solve it..

like image 743
menu_on_top Avatar asked Jan 31 '11 21:01

menu_on_top


2 Answers

Make sure you have put in

<uses-library android:name="com.google.android.maps" />

inside your <application></application> tags.

like image 139
Zarah Avatar answered Oct 20 '22 16:10

Zarah


http://blog.doityourselfandroid.com/2011/01/18/using-google-maps-in-your-android-app/

Check the part about the API key if you are migrating your project to another development environment.

ps I am really surprised how people can pinpoint such a naive answer (as above) correct.

like image 1
foufoutos Avatar answered Oct 20 '22 16:10

foufoutos