//android Studio keytool’ is not an internal or external command, nor is it a runnable program or batch file
I have encountered this problem for a long time, and it has not been solved. Today, I have collected a lot of information. Some people say that Java is not configured properly. Isn’t it bullshit? ! Android Studio can be opened, how could it be a problem of java [environment variable] configuration.
After searching for a long time, I thought about it for an hour and finally did it.
I saw someone posted that this keytool is in the java bin, and then I found that it does exist, but when I click it, it opens and crashes.
Forget it and write it step by step. It’s easy.
②Open and run, go to your keytool folder path, and then press Enter. Run it again (enter keytool.exe, the shortcut key is Tab, the same as Linux), and then enter the command -list -keystore after the input, followed by the object path of your debug.keystore file. Then prompt to enter the password of the secret library, enter android, and then press Enter to see your Sha1.
I recently used Linux. I opened BaiduMap today and checked it out. Use the following command to take a look:
tcoy@tcoy:~$ cd ~/.android tcoy@tcoy:~/.android$ tcoy@tcoy:~$ cd ~/.android tcoy@tcoy:~$: Command not found tcoy@tcoy:~/.android$ ls adbkey cache modem-nv-ram-5556 adbkey.pub ddms.cfg monitor-workspace analytics.settings debug.keystore repositories.cfg androidwin.cfg emu-update-last-check.ini sites-settings.cfg avd metrics uid.txt breakpad modem-nv-ram-5554 tcoy@tcoy:~/.android$ celart celart: command not found tcoy@tcoy:~/.android$ clear tcoy@tcoy:~/.android$ keytool -exportcert -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore enter keystore password: alias: androiddebugkey creation date: 2016-9-29 entry type: PrivateKeyEntry Certificate chain length: 1Certificate: Owner: C=US, O=Android, CN=Android Debug Publisher: C=US, O=Android, CN=Android Debug Serial Number: 1 Validity Start Date: Thu Sep 29 07:28:01 CST 2016, Deadline: Sat Sep 22 07:28:01 CST 2046 Certificate Fingerprint: MD5: 25:11:54:7B:2D:DA:41×××××78:9F:F8:29:BC:4A SHA1: A6:57:D1:55:0×××××9×9C:25:A5:6C:DE:3D:A8:AA:8F:6A:75:EE SHA256: E4:8A:B1:58:6C:2C×××××:A7:FD:FF:A5:A6:F9:7C:DA:9F:8B:F3:8C:9D:B9:11:60 :0A:8F:ED:6C:5A:96 Signature Algorithm Name: SHA1withRSA version 1
Well, in 10 minutes, it will be the Spring Festival of 2016, ready to sleep. I might not be able to fall asleep for a while. I hope I can keep going and graduate in six months, and I hope I can plan every step of the way. Thank yourself, thank you teachers, thank your family. Tomorrow, my family will go to pay New Year’s greetings, and I will sleep until noon. Well done! ! !