Reputation: 10713
We are using a Google MapView in our application but on different computers we must use different API keys, otherwise the MapView doesn't display anything.
Is there a way to set one key for all developers?
Upvotes: 11
Views: 14152
Reputation: 11107
Yes you can use common key to make MapView
visible in all Device
by using Release Key
.
MD5 Key
from your computer and Go to Googles link for getting Map Key
and get your Unique key
for your system.XML
file.apk
file and keystore file in your stored location.keytool.exe -list -alias "aliasname" -keystore "location of keystore generated" -storepass "password" -keypass "password"
MD5
again Google Key
link and get your key.XML
put the new key in XML
file..apk
file. Now this final .apk
file will shows MAPVIEW
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
Upvotes: 13
Reputation: 1007624
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.
Upvotes: 17