title: Cordova does not actually install app on android device
body: <p>I've setup cordova 5.0.0 + android SDK API 22 ( Android 5.1.1 ) on ubuntu 12.04 to develop an app. When I run the command </p>
  
  <p><code>cordova run --device</code> </p>
  
  <p>it builds without errors the APK and shows </p>
  
  <p><code>Total time: 3.177 secs
  Built the following apk(s):
      /var/www/tmp/test-app/platforms/android/build/outputs/apk/android-release-unsigned.apk
  Using apk: /var/www/tmp/test-app/platforms/android/build/outputs/apk/android-release-unsigned.apk
  Installing app on device...
  Launching application...
  LAUNCH SUCCESS
  </code></p>
  
  <p>which however does NOT actually installs the APK to the device.</p>
  
  <p>I have tried to install the ready built APK file using </p>
  
  <p><code>adb install -r /var/www/tmp/test-app/platforms/android/build/outputs/apk/android-release-unsigned.apk</code></p>
  
  <p>and it worked.</p>
  
  <p>I have tried to download the APK from a web-server and install it locally on the device and it also worked, so I assume the APK itself is ok and the device is recognized.</p>
  
  <p>When the APK is already installed on the device the command</p>
  
  <p><code>cordova run --device</code></p>
  
  <p>produces the same output in the console plus it starts up the app on the device but does not install the newer version it just built.</p>
  
  <p>my android device is an HTC Desire 500 running Android 4.1.2, while my Android SDK is using API 22 ( Android 5.1.1 ) could that be the problem ?</p>
  
  <p>Final note: I have a setup on separate machine using cordova 4.1.2 setup with Android SDK API 19 and it builds the project well and actually DO install the app.</p>
  
  <p>I would appreciate your input on what might cause this strange behavior.</p>
  
  <p>Cheers</p>