how to get sha1 of android app in Vs code

后端 未结 4 1292
深忆病人
深忆病人 2021-02-08 04:39

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:26

    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

提交回复
热议问题