:
With JDK 1.7, I had problems with authorization. I finally figured out how to create the right debug repository using SHA1. Here is the command I used:
keytool -genkey -v -keyalg RSA -sigalg SHA1withRSA -keystore "%USERPROFILE%\.android\debug.keystore" -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"
After creating it, you can see it with the command:
keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
The Signature algorithm should now read "SHA1withRSA." Copy the SHA1 fingerprint and paste it into the Google Key "Android Application Key", and you should be good to go.
source
share