在学习第一行代码的时候会让你在Android studio的Gradle里面找,但是会失败,我也不知道为什么,然后找到了别的方法获取发布版SHA1,在你C盘进入用户/姓名(你的电脑注册名字)/.Android中,打开doc命令,键入keytool -list -v -keystore debug.keystore,会提示你让你键入秘钥,Android系统默认秘钥:Android,然后回车就可以看见你想要的东西了。