Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I'm answering this question for the second time, because the solution I've tried that didn't work at first now works, and I can recreate the steps to make it work :)</p> <p>I also had a feeling that lack of Google Play Store is a culprit here, so I've tried to install Google Play Store to the emulator by advice on <a href="http://www.piotrbuda.eu/2012/05/installing-google-play-on-android-emulator.html" rel="noreferrer">this link</a> and <a href="http://blog.apkudo.com/2012/08/08/run-google-play-on-an-emulator-and-pretend-to-be-any-device/" rel="noreferrer">this link</a> combined. I've had some difficulties, but at the end I've succeeded in installing Google Play Store and tested it by downloading some random app. But the maps activity kept displaying the message with the "Update" button. That button would take me to the store, but there I would get a message about "item not found" and maps still didn't work. At that point I gave up.</p> <p>Yesterday, I've fired up the same test app by accident and it worked! I was very confused, but quickly I've made a diff from the emulator where it's working and new clean one and I've determined two apps on the working one in /data/app/ directory: com.android.vending-1.apk and com.google.android.gms-1.apk. This is strange since, when I were installing Google Play Store by instructions from those sites, I was pushing Phonesky.apk, GoogleServicesFramework.apk and GoogleLoginService.apk and to a different folder /system/app.</p> <p>Anyway, now the Android Google Maps API v2 is working on my emulator. These are the steps to do this:</p> <hr> <p>Create a new emulator</p> <ul> <li>For <em>device</em>, choose "5.1'' WVGA (480 x 800: mdpi)"</li> <li>For <em>target</em>, choose "Android 4.1.2 - API level 16" </li> <li>For "CPU/ABI", choose "ARM"</li> <li>Leave the rest to defaults</li> </ul> <p>These are the settings that are working for me. I don't know for different ones.</p> <hr> <p>Start the emulator</p> <hr> <p>install <a href="http://www.filedropper.com/comandroidvending-1" rel="noreferrer">com.android.vending-1.apk</a> and <a href="http://www.filedropper.com/comgoogleandroidgms-1" rel="noreferrer">com.google.android.gms-1.apk</a> via ADB install command</p> <hr> <p>Google Maps should work now in your emulator.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload