Android Studio 下獲取debug sha1和md5

對於從Eclipse上轉到Android Studio後,查看這個其實不用keytool,也能方便地查詢android

Easiest way ever :api

  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#34223470android-studio

固然這是一個debug用的。ide

More Details:Please refer the official guidegradle

https://developers.google.com/maps/documentation/android-api/signup?hl=en
ui

相關文章
相關標籤/搜索