I have shifted myself from
Android Studio signs your app in debug mode automatically when you
run or debug your project from the IDE.
java bin path
keytool -list -v -keystore "%USERPROFILE%.android\debug.keystore"
-alias androiddebugkey -storepass android -keypass android
google developer console
My Problem is the same as i have also shifted my google maps project from Eclipse to Android Studio. I have solved my problem by following this:-
Go to your java bin directory via the cmd:
Now type in the below command in your cmd:
keytool -list -v -keystore c:\users\your_user_name\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android
keytool -list -v -keystore c:\users\James\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android
or you can just write this in cmd if you dont know username
keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
and you will get SHA1
then i created new key from https://code.google.com/apis/console because of my package name got changed and then use this key in my application. works fine.
make sure you are in BIN folder of jdkX.X.X_XX(mine folder name is jdk1.7.0_71) , or else if you dont know what folder name you have then find it by opening java folder and you will see what folder name is but you must be in your BIN folder and then run this command , today i have got my SHA1 value in cmd command by the above procedure.