Jarsigner is not recognized internal or external command

二次信任 提交于 2019-12-04 02:14:11

Solution: Add android jdk bin folder to your path in environment variables.

Instructions:

1- Right click on "This PC" > right-click Properties > Advanced system settings > Environment Variables > select PATH then EDIT.

2- Add your jdk bin folder path to environment variables, it should look like this:

"C:\Program Files\Java\jdk1.8.0_40\bin".

If the above step does not work, copy the unsigned-release-apk.apk file and keystore file in C:\Program Files\java\jdk_version\bin\ and run cmd as an administrator and navigate to C:\Program Files\java\jdk_version\bin\

Now your jarsigner will work successfully.

  1. Go to My computer -> right click -> system properties ->select environmental variables ->Edit Path -> add your jdk/bin path and select ok. The sample jdk path is as shown below.

C:\Program Files\Java\jdk1.8.0_211\bin

*if this not work then

  1. In command prompt set the path by using the below command

set PATH=C:\Program Files\Java\jdk1.8.0_211\bin

now the path is set now you can use the jarsigner

"C:\Program Files\Java\jdk1.8.0_40\bin\". if you this instead of the above thread it will take all the functions in the bin area e.g keytool and certifier as well

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!