简体   繁体   中英

How to get SHA1 fingerprint for debug mode in Android Studio 2.2

Earlier it was working fine by choosing Gradle--> signing report For reference Get Sha1 fingerprint

but in the latest stable version(2.2) its not generating by this process. Please guide.

Thanks

Alternate method:

Generate SHA1 in terminal by the following command

keytool -list -v -keystore c:\users\your_user_name\.android\debug.keystore -alias androiddebugkey -storepass android 

Link

Aftre a research I found my answer ie need to toggle task execution/text mode. For more clarification see the image : 在此处输入图片说明

This got me too - it's the Gradle Console you're looking for!

我的在右下角-您的可能在其他地方

Mine was in the bottom right - yours could be somewhere else

UPDATE:

I also notice that you can view it in the Run console by selecting the "Toggle task executions/text mode" - this will take you from the output that tells you about the gradle execution process to the actual outputs and logs from that process.

To all the people telling him to use keytool - he is looking for a way to do it within the IDE, not the first result you got when you googled..!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM