Jarsigner error: java.lang.RuntimeException: keystore load: C:\path_to_keystore\Texnoit.net < The system cannot find the path specified>


#1

Please help me…I am new ionic framework. How I can create apk? What is the cause of this error?


#2

The system cannot find the path specified.

You should replace it with a path that actually exists.


#3

Do you know how to write a model? I’ve tried all the path but did not work


#4

jarsigner -verbose -keystore C:\Users\Admin\Texnoit.net\Texnoit.net.keystore C:\Users\Admin\Texnoit.net\platforms\android\build\outputs\apk\android-release-unsigned.apk Texnoit.net

I tried this path but dont work


#5

Use relative path. Its easy to use.

  • First add jdk and jre bin path to Environment Variables.

Go Computer - Properties - Advanced System Settings
Advanced Tab - Environment Variables

Add User Variables - Path
C:\Program Files (x86)\Java\jre1.8.0_131\bin
C:\Program Files\Java\jdk1.8.0_131\bin

Add System Variables - Path
C:\Program Files (x86)\Java\jre1.8.0_131\bin
C:\Program Files\Java\jdk1.8.0_131\bin

After that you must use jarsigner command to every path.

  • Copy keystore in [ProjectPath]/platforms/android/build/outputs/apk after build.

  • Go to command line this path and run jarsigner command.

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore release-key.keystore android-release-unsigned.apk project

#6

make another mistake now

This error: only one alias can be specified

Please type jarsigner -help for usage