No Map On Emulator

No Map On AVD Emulator or Emulator screen display blank grid screen. When I first started developing android app which display Google map on android device, I encounter this problem. I had done everything which I read on google android developer site for integrating Goolge Map in my application, but still I was not able to see map on emulator. Only square type grid screen (as seen in image) appears on emulator. 

If you have same problem than no need to worry. Your application was working fine. The problem is with google map api key. Either you had not added google map api key in your program or you may have given wrong api key. Try obtaining new google map api key and integrate it to your application. If you are new and don't know about google map api key and how to obtain it, than check this post Google Map API For Android App.

Problem:
No map on emulator.

Solution:
Add Google map api to program.
Or
Try obtaining new google map api key.

Google Map API For Android App

How To Get Google Map API For Android App

How to get "My certificate's MD5 fingerprint" for Google Map Api?

In this I will show how to get MD5 fingerprint for Google Map API Key, for using in Android App.

For using Google Map in your Android App you need to Sign Up for the Android Maps API.

For Signing Up and for obtaining Android Map API Key you need to have 'MD5 fingerprint Certificate'.

I will show you easy and step by step way to Sign Up for Android Maps API.

Getting 'MD5 fingerprint Certificate'.

1. Goto > Start.

2. Select Run and press Enter.

3. Write cmd and click OK.

4. Screen as shown in image will pop-up.

(Click on image to enlarge)

5. Change Directory to C:\Program Files\Java\jdk1.6.0\bin ( This is where keytool.exe is located). See above image for doing so.

6. Now copy and paste below given line and press enter

keytool.exe -list -alias androiddebugkey -keystore “C:\Documents and Settings\UserName\.android\debug.keystore”

Note:
  • For pasting in command prompt screen use mouse left key and paste. ctrl + v will not work.
  • UserName: Name Used on your system check in  "C:\Documents and Settings".
  • Don't change anything from above line except UserName.
  • Path to debug.keystore file is listed in Eclipse under Window->Preferences->Android->Build

7. It will ask for password, type android and press enter (sometime when you type it will not show on screen, so don't get worried)

8. You will get code like given below.
    94:1E:43:49:87:73:BB:E6:A6:88:D7:20:F1:8E:B5:98"

9. Copy Certificate fingerprint and save at some safe place.

Once you get the Certificate fingerprint the next step is to sign up for Google Map API Key.


2. Accept the Term Of Use.

3. Paste certificate's MD5 fingerprint (which we generates) and click on 'Generate API Key' button.

4. Provide your gmail id and password and you will get the API Key.

Now you can start using your Google Map API key into your Android App.

If you have some query or question write down in comment. I will be pleased to solve it.

Happy Coding.

Path for project must have only one segment.

Error:
An internal error occurred during: "Launching New_configuration".
Path for project must have only one segment.



Solution:
1. Goto Run -> Run Configuration
2. Under Android Tab, Project field is there.
3. Click Browse Button and select project you want to run