问题描述
我正在尝试检查我的已签名发行版 apk 是否真的已签名.但是按照一些教程,或者我找到的单曲.
i'm trying to check if my signed release apk is really signed.But following some tutorials, or the single i've found .
$ jarsigner -verify -verbose -certs my_application.apk
我收到此消息:Jarsigner 无法识别内部外部命令".
I am receiving this message : "Jarsigner is not recognized internal external command".
记住我的apk在jarsigner.exe的同一个文件夹中我不知道该怎么办.
Remembering that my apk is in the same folder of jarsigner.exeI dont know what to do.
推荐答案
解决方案: 将 android jdk bin 文件夹添加到您的环境变量路径中.
Solution: Add android jdk bin folder to your path in environment variables.
说明:
1- 右键单击此电脑"> 右键单击属性">高级系统设置">环境变量"> 选择 PATH,然后选择编辑".
1- Right click on "This PC" > right-click Properties > Advanced system settings > Environment Variables > select PATH then EDIT.
2- 将您的 jdk bin 文件夹路径添加到环境变量中,它应该如下所示:
2- Add your jdk bin folder path to environment variables, it should look like this:
C:\Program Files\Java\jdk1.8.0_40\bin".
"C:\Program Files\Java\jdk1.8.0_40\bin".
这篇关于Jarsigner 无法识别内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!