I want to use Google Maps in my app. I want to install Google Play Services in the SDK Manager, but when I go to the SDK Manager, I don't see Google Play Services! Why? How can I install this? Can I install this independently of the SDK Manager?
I searched, but I could not find a solution for this.
I see these in Extras:
Try launching the SDK Manager by double-clicking the executable (in my case found at C:\DownloadPath\adt-bundle-windows-x86_64-20140321\SDK Manager.exe) rather than launching it from Eclipse !!
No need to again download the SDK Manager as suggested earlier.
Open SDK Manager>Tools>Manage-add-ons sites>User Defined Sites>New
In New, copy the given links one by one and you'll get it.
link 1->http://dl-ssl.google.com/android/repository/repository.xml
link 2->https://dl-ssl.google.com/android/repository/repository.xml
the same way I got my solution.
Download the new SDK here: https://developer.android.com/sdk/index.html and start the SDK Manager. Then you will find the Google Play Services.
Afterwards, update the ADT inside Eclipse and you are ready to go!
Old post:
If you want to use Google Maps API in your app, you have to download the Google API in the Android SDK.
Open the SDK, open the newest Android API "folder" (Android 4.4), check Google API's and download it. After that, open the project properties in Eclipse and choose Android. In "Project Build Target" choose Google APIs with API Level 19.
Then you can use the Google Maps Activities etc.
Be sure to use the newest Android SDK Manager, i have currently revision 22.3.
You may need to update:
The first 2 can be updated through the SDK Manager. The ADT Plugin can be updated through the Eclipse update manager (Help -> Check for Updates).
Edit
There isn't any special order to make the update. However, ADT Plugin and Android SDK Tools must have the same version. In this case, 22.3 is today's last version (1st of December 2013).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With