如何在新版本的 android studio 4.2 中获取 SHA1 代码? [英] How to get SHA1 code in new version of android studio 4.2?

查看:53
本文介绍了如何在新版本的 android studio 4.2 中获取 SHA1 代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这次更新之前,我们可以从 Gradle 获取 SHA1 代码,但现在看起来已经改变了.

解决方案

通过执行以下操作修复了此问题:

Before this update we can get SHA1 code from Gradle but now it's look like it's changed.

解决方案

Fixed this by doing this: Check here

  1. File
  2. Settings
  3. Experimental
  4. Unchecked the 'Do not build gradle task list during gradle sync' and click 'OK'
  5. Go to file
  6. Sync project with Gradle files
  7. You will see the option on Signing reports under: Gradle -> Tasks ->Android -> Signing Report.

8.Check the image below

这篇关于如何在新版本的 android studio 4.2 中获取 SHA1 代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆