While signing an application with different keystore
from debug one, you should create another API_KEY
using SHA1
generated from your current keystore
and register it in Google API Console
and use that key for Google Maps
. Your maps won't show up,because API_KEY
is generated by the current keystore and your package name. Changing keystore file will cause your MapView
to shows blank, because SHA1
is different.
So as a final answer, you should repeat all steps to generate an API_KEY
for Google Maps
with new SHA1
.
Edit: There are two options which you can use to create SHA1
from keystore
file.
keytool -list -v -keystore <path_to_your_keystore>
will give youSHA1
.- Using
Eclipse
if you try to sign your app with your keystore, at the end before saving your.apk
file it will shows youSHA1
andMD5
generated from your keystore. I think it was the second time when you try to sign apk.