'Android Studio 4.2 doesn't show signing report in the Gradle bar
Solution 1:[1]
- Click on right hand side gradle icon
- Type
gradle signingReport
in the terminal
then you get the desired SHA fingerprint.
Solution 2:[2]
Solution 3:[3]
Unchecked the 'Do not build gradle task list during gradle sync' and click 'OK'.
Now press the gradle button again and you will see the options
Now press signing report to get SHA1
Solution 4:[4]
I struggled with this too. The latest update (Currently: Android Studio 4.2.1) didn't have the Tasks
options under Gradle
> app
Instead, go to the terminal and type gradlew signingReport
Solution 5:[5]
One of the way to get SHA1 key is using Terminal:
- Open
Terminal
in android studio, type./gradlew signingReport
and press Enter.
Solution 6:[6]
Step 1: open setting click on the "Experimental" option
step 2: uncheck---> "do not build Gradle task list during Gradle sync"
step 3: sync your project again
now u can see the signing report in the Gradle tab
Solution 7:[7]
Go to terminal and type command 'gradle signingReport' and press CTRL and then only ENTER
Solution 8:[8]
Don't go to gradle present in right-side corner.
simply type gradlew signingReport in your terminal.
Solution 9:[9]
First you are getting like this screen:
Now you have go to Settings > Experimental > And uncheck > Do not build gradle task list during gradle sync.
Then you have sync project must and then it will shows you sigin report
Solution 10:[10]
In the Android Studio 4.2.1v the command on console is: gradlew singinReport
The command above wasn't recognized in the newer version
Solution 11:[11]
You can also do that without Android Studio the manual way:
Debug
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
Release
keytool -list -v -keystore {PATH_TO_RELEASE_KEYSTORE} -alias {RELEASE_KEYSTORE_ALIAS}
Solution 12:[12]
One new Android studio 4.2.1,
- Click on Gradle on the right most side of screen
- Click on Execute Gradle Task Button
- Type like this: your_app_name [signingReport]
Type like this
Solution 13:[13]
If the above gradle bar search wasn't working for you, You and I on the same page. The correct answer for those who are struggling with gradle search. Goto to Android Terminal [left-bottom side], in terminal type this command "gradlew signingReport". Be sure you are putting "w" in the suffix. I hope this will be helpful for all future developers. Thankyou!!
Solution 14:[14]
Very Simple! ... go to your Buil.gradle(Project:<app_name>)... Remove the Maven() line... It is deprecated and is preventing the signingReport from showing! Then Sync/Rebuild.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow