title: How to make 'cordova run --release' use the signed apk
body: <h2>Problem</h2>
  
  <p>I'm trying to install and test a release version of my app directly on my device using cordova.</p>
  
  <p>Though I signed the apk, cordova tries to install the unsigned version to the device. How can I test the release version via cordova?</p>
  
  <h2>Details</h2>
  
  <p>When running</p>
  
  <pre><code>cordova run --release --buildConfig="build.json"
  </code></pre>
  
  <p>I get the following result:</p>
  
  <pre><code>[...]
  
  BUILD SUCCESSFUL
  
  Total time: 15.086 secs
  Built the following apk(s):
          C:/myProject/platforms/android/build/outputs/apk/android-release-unsigned.apk
          C:/myProject/platforms/android/build/outputs/apk/android-release.apk
  Using apk: C:/myProject/platforms/android/build/outputs/apk/android-release-unsigned.apk
  Error: Failed to install apk to device: pkg: /data/local/tmp/android-release-unsigned.apk
  
  Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
  </code></pre>