对于从Eclipse上转到Android
Studio后,查看这个其实不用keytool,也能方便地查询
Easiest way ever :
- Open Android Studio
- Open Your Project
- Click on Gradle (From Right Side Panel, you will
see Gradle
Bar) - Click on Refresh (Click on Refresh from Gradle
Bar, you will see List Gradle
scripts of your Project) - Click on Your Project (Your Project Name
form List (root)) - Click on Tasks
- Click on android
- Double Click on signingReport (You will
get SHA1 and MD5 in Run
Bar)
简而言这就是在打开的项目下选择右边的Gradle然后按Tasks巨的Android点singningReport。自己尝试时要注意在右侧的Project
View下要先选择gradle右侧才会有显示哦。
source from
: https://stackoverflow.com/questions/27609442/how-to-get-the-sha1-fingerprint-certificate-in-android-studio-for-debug-mode/34223470#34223470
当然这是一个debug用的。
More Details:Please refer the official
guide
https://developers.google.com/maps/documentation/android-api/signup?hl=en