Reputation: 128
I'm trying to use SupportMapFragment in my app, at the beginning it was running ok, but when I switch from the debug to the release It stopped working, the thing is that I've see many pages and many Questions here in stackoverflow but no one could help me, I thing the issue in my app is because I don't use the correct SHA-1.
So I have my key.jks (the one I use to generate signed apk) key store and my debug.keystore, are .jks and .keystore the same? Should I create another .keystore for release? how can I do that?
Upvotes: 1
Views: 3118
Reputation: 89
keytool -list -v -keystore <your_key>.jks -alias <alias_for_your_key>
will print out the SHA-1
Upvotes: 2
Reputation: 2249
you just need to run the command:
keytool -list -v -keystore mystore.keystore
but replace "mystore.keystore" with your release key path.
Google developers console explains this in a really simple way:
Upvotes: 1
Reputation: 289
i think this page can help you: http://www.sgoliver.net/blog/?p=3244
C: > cd C: \ Users \ Salvador \ .android \
C: \ Users \ Salvador \ .android> "C: \ Program Files \ Java \ jdk1.7.0_07 \ bin \ keytool.exe" -l
Assuming that your Java installation is in the "C: \ Program Files \ Java \ jdk1.7.0_07" route. If not you should only replace it for the right. This should we return multiple certificate data, including SHA1 fingerprint.
For the API KEY that you must put in the manifiest you must put the SHA1 signature obtained previously followed; and the package name of the app
Upvotes: 1