tags:

views:

958

answers:

3

Hi... new to Android. Checked the FAQs on the SDK site but didn't find anything that was helpful.

I'm learning via a few books w/downloadable code. One of the examples I'd like to get running won't even compile because the IDE can't find/import the com.google.android.maps library/package, which I found odd since I have everything possible installed that the SDK offers. The book info on the publisher site was not helpful either. Any ideas?

I'm using Eclipse (build 20090920-1017) with the ADT 0.9.5 plugin. SDK is fully updated (all available packages installed, including android 1.1 api 2 rev. 1 through android 2.0.1 api6 rev 1, and google apis 3 rev 3 through 6 rev 1.)

Any advice is appreciated.. thanks in advance.

+2  A: 

Choose "Google API" project Build Target. And be sure Google API is installed in you Android SDK.
And don't forget to add

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

into tag in ApplicationManifest.xml

Max Gontar
<< Choose "Google API" project Build Target >>That was it, thanks! :)
Jeff
A: 

Switch to "Google API" as project Build Target works for me.

Project->properties->android, check GOOGLE API

jimmy
A: 

u need to add in ur manifest com.google.android.map..

It will work

Thanks rakesh

Rakesh Gondaliya