Java – Access Google Maps in the Android emulator

Access Google Maps in the Android emulator… here is a solution to the problem.

Access Google Maps in the Android emulator

I am developing an Android app using Google Maps data. I can access Google Maps in the emulator, but when I try the same in my app, Google Maps doesn’t open. What’s the problem? Help

Solution

It sounds like you’re not using Google APIs in the emulator:

http://code.google.com/android/add-ons/google-apis/

You need to create an Android Virtual Device (AVD) using the Google API:
alt text

In the screenshot above, you can see that “test_avd” does not use the google API.
You can also see that “test_maps_avd” does use the Google API.

Related Problems and Solutions