Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

com.google.android.maps missing?

Tags:

android

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.

like image 918
Jeff Avatar asked Jan 03 '10 20:01

Jeff


People also ask

Why did Google Maps disappear from the Android Auto Map?

Everything is caused by an update of the smart driving app of the American company. As explained in the Google forum, the complaints revolve around the fact that this version 7.2 of Android Auto has erased Google Maps from the map (pun intended).

Why is Google Maps not showing up on Android 12?

The update to this new operating system version has caused several Android Auto features to start malfunctioning, and as it turns out, Google Maps makes no exception. Users claim the navigation app has gone missing after updating their devices to Android 12, and now they’re asking Google to do its magic and bring back Google Maps in their cars.

How to install Google Maps API on Android?

Install all google API's using sdk manager. You have to include jar file for maps also.. Right click on your project and go to build path and then add external archives. locate your sdk. android-sdk-windows\add-ons\addon_google_apis_google_inc_<your api version>\libs\maps

What is the Google Maps SDK for Android?

This is the main class of the Google Maps SDK for Android and is the entry point for all methods related to the map. Defines configuration GoogleMapOptions for a GoogleMap . Use this class to initialize the Google Maps SDK for Android if features need to be used before obtaining a map.


2 Answers

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

like image 99
Maksym Gontar Avatar answered Oct 07 '22 09:10

Maksym Gontar


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

Project->properties->android, check GOOGLE API

like image 21
jimmy Avatar answered Oct 07 '22 10:10

jimmy