Android:Google Maps API Key Signup : MD5 certification key
C:\Program Files\Java\jdk1.7.0_04\bin>keytool.exe -V -list -alias androiddebugkey -keystore "C:\Documents and Settings\IBM\.android\debug.keystore" -storepass android -keypass android
Consider your jdk-bin path
in the first path
place and your home user directory
in the second path
. For windows 7
it is likeC:\Users\username\.android\debug.keystore
Use the above command you will get all the keys.
The google API key is here.
Google Maps API for Android, getting SHA1 cert instead of MD5
Use JDK version 1.6 instead of 1.7 because 1.7 generates the fingerprint with SHA1 by default.
or you can use (-v) option of the keytool to give you all supported algorithms output and you will find the MD5 in it. for examble : keytool -v -list -keystore [your keystore path] and then enter the password which is [android] by default (you can get the keystore path from Eclipse window>Prefs>Android>build).
Sincerely,
DigitalFox
Getting a MD5 signature for the Google API
Follow the steps here to find your MD5 fingerprint. Then enter the fingerprint here to obtain your API key. The API key is what you need to put in your layout file which is explained in the "Hello, MapView" tutorial.
Java Android Google Map API sign up . MD5 certificate fingerprint and not SHA1
And here is the solution to your problem
Open Command Prompt and navigate to
C:\Program Files\Java\jre6\bin
(might be different in your case).As you are following this solution that means you have
keystore
with you.If yes move to step 3. else create a newkeystore
like mentioned in this.Type the following command
keytool.exe -v -list -keystore " <path_of_keystore_youhave_created_in_step_2>"
it will ask for password use the same password you have used while creatingkeystore
and you will getSHA1
MD5
and many information you have provided while creatingkeystore
.
Obtaining Google map API key
The problem was that it was outputting SHA1 certificate and i needed MD5. I have given the solution to this problem here.
Can't get MD5 to get maps api key?
With JDK 1.7 installed, keytool outputs by default SHA1 fingerprint, not MD5. Adding -v option allows to see MD5 as well.
-v for verbose..
Related Topics
Android Gridview Keep Item Selected
Setting Audio File as Ringtone
Opencv Image Comparison in Android
Dependencies' Cannot Be Applied to '(Groovy.Lang.Closure)'
How to Get the File *.Apk Location in Android Device
Map Markers with Text in Google Maps Android API V2
No Notification Sound When Sending Notification from Firebase in Android
How to Include a Library Module Dependency in an Android Studio Project
Rotate Zoom Drag Image in Android Imageview
Android Accessibility Service Detect Notification
Creating a Dialogpreference from Xml
How to Add PDFbox to an Android Project or Suggest Alternative