Generating Google map Release API Key
Solution 1
You need to :
Create your own signing key that you will use for publishing, using Keytool : http://developer.android.com/guide/publishing/app-signing.html#cert
Get the MD5 fingerprint of your newly generated key : https://developers.google.com/maps/documentation/android/mapkey#getfingerprint
Submit the signature to this link to get your Google Maps key : https://developers.google.com/android/maps-api-signup?hl=fr
Export your application with your newly created key, in Eclipse : right click on your projet -> Android Tools -> Export signed application package.
Be careful to keep your certificate in a safe place, because you will need it if you want to publish an update of your app on Google Play.
EDIT :
For the Google Maps Android V2, the signing is a little different. You will need to get the SHA-1 signature and provide the package name of your application as well. A Google APi account is moreover needed. All info are given on this page : https://developers.google.com/maps/documentation/android/start?hl=fr#the_google_maps_api_key
Solution 2
Before publishing application into play store you have to follow some step to create release key.
Step 1: First find your key store location. Ex. D:\Harshid\testKeystore
Step 2: Run this command.
keytool -list -v -keystore D:\Harshid\ testKeystore -alias D:\Harshid\ testKeystore
please used fully qualified name of keystore.
Step 3: Copy SHA1
Step 4:
Follow this google map api console.
stations essence
Updated on March 20, 2020Comments
-
stations essence about 4 years
My app uses Google Maps, I signed up for a Google Maps key to debug, it worked. But now, I need a Google Maps key in release mode, before publishing. How can I get it?