Sign the Android apk

1

Good evening everyone!

I'm trying to sign a test apk but I can not.

I tried Linux and Mac and the return is the same message:

  

jarsigner: Certificate found not found for: testapp. testapp must   reference a valid KeyStore key entry with a private key and   corresponding public key certificate chain.

I'm creating the keystore this way:

keytool -genkey -v -keystore testechave.keystore -alias 
testechave -keyalg RSA -keysize 2048 -validity 10000

Placing everything inside the same directory (apk and testechave.keystore) and executing the command:

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1
-keystore testechave.keystore
testeapp-unsigned.apk testeapp

It is at this moment that generates this message and does nothing! Am I doing something wrong? My version of Cordova is 5.0

    
asked by anonymous 21.01.2016 / 11:38

0 answers