简体   繁体   中英

Android Studio gradle doesn't show run configurations

I need to get the SHA-1 key for Firebase authentication for my app. But I am not able to find the 'run configurations' menu anywhere to run the signing report. However, in another one of my projects that was created in a friend's system, I can see it. Here's the image of my project

Here's the image of what is supposed to show

In Android 4.2 the layout has changed, this is how I generate SHA-1

Step One Click the Terminal at the bottom of Studio 在此处输入图像描述

Step Two Type gradle signingReport on the Terminal - (terminal will highlight this in yellow). DON'T PRESS ENTER YET 在此处输入图像描述

Step Three Press Ctrl + Enter on Windows or + Enter on Mac This will process the report in a few moments

Step Four Scroll up to reveal SHA-1 在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM