keyhash是由keystore产生的

三个命令解决问题

keytool -exportcert -alias androiddebugkey -keystore debug.keystore > debug.txt

输入密码:
openssl sha1 -binary debug.txt > debug_sha.txt
openssl base64 -in debug_sha.txt > debug_base64.txt

debug_base64.txt内就是keystore对应的keyhash

 

在mac下可以自己生成,win下可能需要keytool工具和openssl工具

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
  • 2021-04-07
  • 2021-10-25
  • 2021-05-10
猜你喜欢
  • 2021-08-10
  • 2022-12-23
  • 2021-12-18
  • 2021-08-28
  • 2021-05-24
  • 2021-06-03
  • 2022-12-23
相关资源
相似解决方案