Android emulator does not install app when using 'ionic emulate android' command


#1

I am new to Ionic and Android programming, so I am sorry if there are any inconveniences.

My problem is that I can’t see my app (default app in tutorial) on
the emulated android virtual device. It just shows a stock android phone
basically after I run:

ionic emulate android

So I assume the app wasn’t installed on the emulator.

It builds the apk but doesn’t do anything with it it seems.
I think I installed everythink correctly:

duc@duc-ThinkPad-T450s:~/myApp$ ionic info
Your system information:
Cordova CLI: 6.0.0
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
OS: Distributor ID: Ubuntu Description:
Ubuntu 14.04.4 LTS Node Version: v4.4.1

I hope you could help me out, just wanted to get the tutorial going :slight_smile:

Greets, Duc

Edit:

I finally managed to install the apk manually to the emulated device
using this command:

adb -s <your emulator> install </your/apk/path>

However installing it manually is very inconvenient and annoying.
Anyone has a solution for this?


#2

Please first check your ionic app ui view with chrome. after that you build app. go with chrome more tool > Developer tool and select devices to check it.

like this


#3

Please you switch with ionic v2. that is future app development technologies . that total differ from v1. You are new for ionic that why this is best option for you.


#4

Hi dileepyadav,
sorry but that just doesn’t solve my problem.