How to sign apk?

with



key.store=./

key.alias=keystore



i get this





Signing final apk…

Signing JAR: C:WORKjMonkeyProjectsTestGamemobilebinMyGame-release-unsigned.apk to C:WORKjMonkeyProjectsTestGamemobilebinMyGame-release-unaligned.apk as keystore

Option lacks argument <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<



Please type jarsigner -help for usage

C:WORKjMonkeyProjectsTestGamenbprojectmobile-impl.xml:21: The following error occurred while executing this line:

C:Program FilesAndroidandroid-sdktoolsantbuild.xml:1042: The following error occurred while executing this line:

C:Program FilesAndroidandroid-sdktoolsantbuild.xml:1055: jarsigner returned: 1

BUILD FAILED (total time: 42 seconds)





then this



key.store=C:/WORK/jMonkeyProjects/

key.alias=TestGameKeyStore





Signing final apk…

Signing JAR: C:WORKjMonkeyProjectsTestGamemobilebinMyGame-release-unsigned.apk to C:WORKjMonkeyProjectsTestGamemobilebinMyGame-release-unaligned.apk as TestGameKeyStore

jarsigner error: java.lang.RuntimeException: keystore load: Invalid keystore format <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

C:WORKjMonkeyProjectsTestGamenbprojectmobile-impl.xml:21: The following error occurred while executing this line:

C:Program FilesAndroidandroid-sdktoolsantbuild.xml:1042: The following error occurred while executing this line:

C:Program FilesAndroidandroid-sdktoolsantbuild.xml:1055: jarsigner returned: 1

BUILD FAILED (total time: 46 seconds)



plz enlight me :frowning:



i already signed applications before but here i am not shure what goes wrong

@rompelstilchen said:
key.store=./
key.alias=keystore

the key.store need the path to your keystore file including its name. Should be something like "path/to/your/yourCompanyName.keystore"
the alias should be somthing like "yourCompanyName"
@nehon said:
the key.store need the path to your keystore file including its name. Should be something like "path/to/your/yourCompanyName.keystore"
the alias should be somthing like "yourCompanyName"


thx mate :)