One Google Maps key for all developers?
Solution 1:
Is there a way to set one key for all developers?
For the debug signing key, copy your debug keystore (e.g., ~/.android/debug.keystore
) between developer PCs, and remember to update all of them again when that keystore expires.
For the production signing key, copy the production keystore between developer PCs.
Note that I have not tried copying keystores between Windows and non-Windows (OS X, Linux), so I don't know if there are any possible issues there related to line endings.
Solution 2:
Yes you can use common key to make MapView
visible in all Device
by using Release Key
.
- Get the
MD5 Key
from your computer and Go to Googles link for gettingMap Key
and get yourUnique key
for your system. - Copy and paste it in
XML
file - Now right click Project->Export Application->Select your Project->Next->Select new Keystore -> Complete all rest Steps
- Note down your alias name and password given.
- Now if you Complete all process of Filling Details you will get one
.apk
file and keystore file in your stored location. - Now open commamd prompt type this command in it --> Got to you Java bin path ->
keytool.exe -list -alias "aliasname" -keystore "location of keystore generated" -storepass "password" -keypass "password"
- Now hit ENTER you will get
MD5
again - Now copy it paste it in in
Google Key
link and get your key. - Now go to your
XML
put the new key inXML
file. - Now Right Click Project->Export Application->Select your Project->Next->Use Existing Keystore -> Give location and password->Next
- Now your alias name will comes in your Drop Down->Select it -> Enter Password -> Next
- It will ask for location to store your final
.apk
file. - Select your location and store.
-
Now this final
.apk
file will showsMAPVIEW
in all Devices.C:\Users\FSSD6>keytool.exe -list -alias aliasname -keystore "location" -storepass password -keypass password
For Further help check this Maplink and this blog post