How to install Google Map API for android API leve

2019-07-15 08:35发布

问题:

I'm new to android n i want to develop application in Android (for 2.2 Version) with use of Google Map API i found various tutorial like this

http://www.androidhive.info/2012/01/android-working-with-google-maps/

but i'm unable to find how to install Google Map API for API level 8 like in this link.

Can any one please provide me the link which explains the installation of old API's because i have google Map API for level 14 but i want to install for level 8.

Thanks in advance.

回答1:

Step #1: Open up your SDK Manager

Step #2: Scroll down in the list to find the API level you wish

Step #3: Check the "Google APIs" checkbox for the API level you wish

Step #4: Click the "Install packages..." button and follow the prompts



回答2:

I had the same problem, apparently its because the sdk manager is not updated. I didnt feel like updating so I cant confirm that part. BUT, I can confirm one way around.

Alan Sha posted a manual way to download the APIs.

https://stackoverflow.com/a/7860557/962685

Just do what he says and it works. You will have to change your api level in your manifest and in project settings.