Recently, I needed to get SHA1 and MD5 values in the development, but I forgot my password when I got SHA1 values in the command line. Later, a great god in the group helped me to solve the problem. Let me record that here.
- Open Gradle on the right of Android Studio home screen and select the current project. Tasks –> Android –> signingReport
2. Open the Run screen at the bottom of Android Studio. If you see a screen similar to the one below, please click the button in the upper left corner to switch.
- Then you can get what you want. A bad memory is better than a bad pen
- If you successfully run after the discovery cannot run the project. Remember to toggle app selection.