1. Create a new emulator
- for device choose “5.1” WVGA (480 x 800: mdpi)”
- for target choose “Android 4.1.2 – API level 16″
- for “CPU/ABI” choose “ARM”
- leave rest to defaults
these are the settings that are working for me. I don’t know for different ones. Comment bellow if you’ve tried some different ones.
2. Start the emulator
3. Install com.android.vending-1.apk and com.google.android.gms-1.apk via ADB install command
Google Maps should work now in your emulator. Please comment is it working for you?
update no 1: People are reporting that this does not work on targets with Google APIs already installed, try it with clean android builds.
update no 2: Relevant permissions for Google Maps API enabled app (regarding one of the questions below):
<permission android:name="com.yourpackagename.permission.MAPS_RECEIVE" android:protectionLevel="signature"> </permission> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/> <uses-permission android:name="com.yourpackagename.permission.MAPS_RECEIVE"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-feature android:glEsVersion="0x00020000" android:required="true"/> <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="yourAPIkeyHERE" />