how to get sha1 of android app in Vs code

后端 未结 4 1567
旧巷少年郎
旧巷少年郎 2021-02-08 05:06

how to get \"Sha1\" for a flutter application. I am using flutter in Vs code.In android studio we have direct option for that, but i don\'t know how to get it in Vs code.

4条回答
  •  温柔的废话
    2021-02-08 05:19

    1 : open cmd in windows.

    2: use cd C:\Program Files\Java\jdk1.7.0_05\bin this will lead you to bin folder of jdk.

    3:get path of file debug.keystore that in my case is C:\Users\name\.android\debug.keystore

    4: then run this command keytool -list -v -keystore C:\Users\name\.android\debug.keystore -alias androiddebugkey -storepass android - keypass android

    this will give you the SHA1

提交回复
热议问题