Android Studio 下获取debug sha1和md5

对于从Eclipse上转到Android Studio后,查看这个其实不用keytool,也能方便地查询

Easiest way ever :

  1. Open Android Studio
  2. Open Your Project
  3. Click on Gradle (From Right Side Panel, you will see Gradle Bar)
  4. Click on Refresh (Click on Refresh from Gradle Bar, you will see List Gradle scripts of your Project)
  5. Click on Your Project (Your Project Name form List (root))
  6. Click on Tasks
  7. Click on android
  8. 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

posted @ 2016-01-28 15:42  YorkYu  阅读(363)  评论(0编辑  收藏  举报