title: unable to sign the unsigned APK
body: <p>I'm trying to sign the unsigned APK. I followed <a href="http://ionicframework.com/docs/guide/publishing.html" rel="noreferrer">this link</a>. </p>
  
  <p>My steps:</p>
  
  <ol>
  <li><code>$ cordova build --release android</code> (success)</li>
  <li><code>$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name - keyalg RSA -keysize 2048 -validity 10000</code> (success)</li>
  <li><code>$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore HelloWorld-release-unsigned.apk alias_name</code> (got problem)</li>
  </ol>
  
  <p>The problem is: </p>
  
  <blockquote>
    <p>jarsigner: unable to open jar file: HelloWorld-release-unsigned.apk</p>
  </blockquote>
  
  <p>Then i followed <a href="https://forum.ionicframework.com/t/android-publishing/3762" rel="noreferrer">this link</a>.</p>
  
  <ol>
  <li><code>$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -my-release-key.keystore F:\mobile\moto\whatever_the_path_is_to_your_apk_file\HelloCordova-release-unsigned.apk alias_name</code> (got problem)</li>
  </ol>
  
  <p>the problem is:</p>
  
  <blockquote>
    <p>Illegal option: -my-release-key.keystore</p>
  </blockquote>
  
  <p>Can anyone help me. Thank you.</p>