# Ionic run android does not install app in device

**URL:** <https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795>\
**Category:** ionic-v1\
**Created:** [April 27, 2015, 8:06pm UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795 "2015-04-27T20:06:21Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![vprogramador](https://avatars.discourse-cdn.com/v4/letter/v/b487fb/32.png) [@vprogramador](https://forum.ionicframework.com/u/vprogramador)\
**Post date:** [April 27, 2015, 8:06pm UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/1 "2015-04-27T20:06:21Z")

</div>

Hi, I’m using ionic for writting an android app, but I can’t istall it using `ionic run android`.

The output of this command says at the end

BUILD SUCCESSFUL

```
Total time: 4.27 secs
Built the following apk(s):
    /home/xx/ionics/platforms/android/build/outputs/apk/android-debug.apk
Using apk: /home/xx/ionics/platforms/android/build/outputs/apk/android-debug.apk
Installing app on device...
Launching application...
LAUNCH SUCCESS

```

Same when I use `cordova run android` instead.

Right now I have to install it using `adb install`, and also I have to uninstall the app and reinstall it with `adb` for viewing changes.

I’m using a Samsung Galaxy Tab GT-P3110 Android v 4.0.3

Is this a device issue? what could I do for solving it?

Thanks for any help

---

<div class="post-metadata">

**Author:** ![apatuka](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@apatuka](https://forum.ionicframework.com/u/apatuka)\
**Post date:** [April 27, 2015, 9:21pm UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/2 "2015-04-27T21:21:21Z")

</div>

I have the same problem, but using cordova, hope to find a solution.

---

<div class="post-metadata">

**Author:** ![vprogramador](https://avatars.discourse-cdn.com/v4/letter/v/b487fb/32.png) [@vprogramador](https://forum.ionicframework.com/u/vprogramador)\
**Post date:** [April 28, 2015, 3:55am UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/3 "2015-04-28T03:55:59Z")

</div>

Hi, found a solution [here](http://stackoverflow.com/questions/19767810/running-phonegap-on-device-no-device-found).

```
$ ionic run android --target=<device_id>

```

where `device_id` is the code obtained with

```
$ adb devices
```

---

<div class="post-metadata">

**Author:** ![juliosampaio](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/juliosampaio/32/81437_2.png) [@juliosampaio](https://forum.ionicframework.com/u/juliosampaio)\
**Post date:** [May 9, 2015, 8:20pm UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/4 "2015-05-09T20:20:03Z")

</div>

Hey,

Tried @vprogramador’s advice and it did not solve the problem here. Any other solution?

---

<div class="post-metadata">

**Author:** ![bezner](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bezner/32/74863_2.png) [@bezner](https://forum.ionicframework.com/u/bezner)\
**Post date:** [May 21, 2015, 10:51am UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/5 "2015-05-21T10:51:59Z")

</div>

Same issue for me. Anyone found the solution?

I can’t test on an emulator either. The only way to see my app is the use IonicView which is highly inconvenient and time consuming, doesn’t provide the way to reload the application.

The debugging mode on my Android device is turned on and the install from unknown sources in turned on as well. I have no clue what’s going on - it worked before.

Any tips much appreciated.

Thanks,

---

<div class="post-metadata">

**Author:** ![Witteman](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/witteman/32/88754_2.png) [@Witteman](https://forum.ionicframework.com/u/Witteman)\
**Post date:** [May 26, 2015, 11:51am UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/6 "2015-05-26T11:51:58Z")

</div>

At the end of the ionic run android command, copy the full path to the .apk file that it shows, then enter:

adb -d install /path/to/the/apk/file.apk

The app will be installed, and if you run it, then repeat your ionic run android command with -l, even the interactive shell and debug console will work with the manually launched instance on your phone.

---

<div class="post-metadata">

**Author:** ![Witteman](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/witteman/32/88754_2.png) [@Witteman](https://forum.ionicframework.com/u/Witteman)\
**Post date:** [May 26, 2015, 9:03pm UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/7 "2015-05-26T21:03:39Z")

</div>

Somebody offers a fix here:

> <https://stackoverflow.com/questions/29956031/cordova-run-android-executes-fine-but-android-4-1-2-doesnt-start-the-app/30240520#30240520>

(via [https://github.com/driftyco/ionic-cli/issues/441#issuecomment-105608416](https://github.com/driftyco/ionic-cli/issues/441#issuecomment-105608416) )

---

<div class="post-metadata">

**Author:** ![jeudyx](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jeudyx/32/71483_2.png) [@jeudyx](https://forum.ionicframework.com/u/jeudyx)\
**Post date:** [July 19, 2015, 2:47am UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/8 "2015-07-19T02:47:30Z")

</div>

Hi,

Its very weird. I had the issue on a HP tablet device, but **ionic run android** worked just fine on a Samsung Galaxy S3, so I guess it depends on the device.

---

<div class="post-metadata">

**Author:** ![kevinbayes](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/kevinbayes/32/74465_2.png) [@kevinbayes](https://forum.ionicframework.com/u/kevinbayes)\
**Post date:** [July 22, 2015, 9:43am UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/9 "2015-07-22T09:43:50Z")

</div>

I just created a new project and ran into this same problem, using a Samsung Galaxy s3.

---

<div class="post-metadata">

**Author:** ![lagfvu](https://avatars.discourse-cdn.com/v4/letter/l/7ba0ec/32.png) [@lagfvu](https://forum.ionicframework.com/u/lagfvu)\
**Post date:** [October 6, 2015, 3:30pm UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/10 "2015-10-06T15:30:21Z")

</div>

ionic run android --device fixed it for me. i am using galaxy note 4

---

<div class="post-metadata">

**Author:** ![ceckman](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ceckman/32/13771_2.png) [@ceckman](https://forum.ionicframework.com/u/ceckman)\
**Post date:** [October 6, 2015, 9:21pm UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/11 "2015-10-06T21:21:58Z")

</div>

I’m not sure about that issue, but this is my workflow. Build APK, move apk to dropbox either manually or using a program that watches the output folder and copies directly into Dropbox (Belvedere or Hazel). Then just go into the Dropbox app and install from there. No cables and easy to install and test on multiple devices or across a team or testers.

A side note if your app actually wont install, if you’ve got more than one signing key, you’ve got to uninstall and reinstall the app fresh, rather than just installing it over the existing app.

---

<div class="post-metadata">

**Author:** ![sssharma](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@sssharma](https://forum.ionicframework.com/u/sssharma)\
**Post date:** [October 16, 2015, 6:19am UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/12 "2015-10-16T06:19:37Z")

</div>

ionic run android not running on android 3.1 API

---

<div class="post-metadata">

**Author:** ![coreelements](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@coreelements](https://forum.ionicframework.com/u/coreelements)\
**Post date:** [January 5, 2016, 10:02am UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/13 "2016-01-05T10:02:49Z")

</div>

hmm I’ve tried this … but no luck

---

<div class="post-metadata">

**Author:** ![AlMya](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@AlMya](https://forum.ionicframework.com/u/AlMya)\
**Post date:** [February 22, 2017, 2:05pm UTC](https://forum.ionicframework.com/t/ionic-run-android-does-not-install-app-in-device/21795/14 "2017-02-22T14:05:42Z")

</div>

I understand that the following suggestion “sounds” crazy, but if definitely works for the device I am testing on here: EVO BLU 4G.

Unplug the USB from the phone port itself, and then back in. Unplugging the USB cable from the computer end does not cause the device to register with adb.

Perhaps the phone has some way of knowing whether you’ve connected a device to the USB micro port regardless of whether the other end establishes any actual connection. But perhaps more likely is a physical defect in the cable/phone that makes plugging it into the device “iffy”.
