Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing Google Play Services from AVD

I recently started developing for Android, and I have come into trouble when trying to use Google Maps in my app. I downloaded the Google Maps API v2 for Android, and have already performed all the required steps according to Google Developers Site.

My problem is that although the app runs, in the place where the maps should be displayed there is a texts saying that my device is missing Google Play Services.

I have already downloaded the Google Play Services from the SDK, imported the library into my project and also importing the .JAR file.

I am using Netbeans, not Eclipse, so many solutions I have found over the web aren`t useful for me. I hope you can help me with this.

like image 998
Ander Murillo Zohn Avatar asked Dec 09 '12 02:12

Ander Murillo Zohn


People also ask

Where did Google Play Services go?

Navigate to the Apps section, tap All apps, and scroll down until you find Google Play Services. Tap it. Scroll down until you see App details and tap that. The phone should open Play Services in the Google Play Store.


2 Answers

Unfortunately, you can't use the emulator to run apps that use Google Play services. From http://developer.android.com/google/play-services/setup.html: "Google Play services is not supported on the Android emulator — to develop using the APIs, you need to provide a development device such as an Android phone or tablet."

like image 185
abodis Avatar answered Oct 01 '22 00:10

abodis


From google's own site http://developer.android.com/google/play-services/setup.html

If you want to test your app on the emulator, expand the directory for Android 4.2.2 (API 17) or a higher version, select Google APIs, and install it. Then create a new AVD with Google APIs as the platform target. Note: Only Android 4.2.2 and higher versions of the Google APIs platform include Google Play services.

like image 33
BeowulfNode42 Avatar answered Oct 01 '22 02:10

BeowulfNode42