ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
128 stars 85 forks source link

Ionic cordova emulate android is not installing the apps on the device after the device is upgraded to oreo #968

Open kpvsrkp opened 5 years ago

kpvsrkp commented 5 years ago

I'm submitting a ... (check one with "x") [ x] bug report [ ] feature request

I was able to install the app on the device using ionic cli till yesterday. but I got an OS update i.e. Oreo and updated to 8.1. Since then "ionic cordova emulate android" is not installing the app on the device despite of no errors in the command prompt. I tried updating the Cordova & Cordova-android but no luck

Current behavior:

Command finished with error code 0: C:\Android\sdk\platform-tools\adb.exe -s,58c846617d74,shell,input,keyevent,82 Starting application "com.fizion.app/.MainActivity" on target 58c846617d74... Running adb shell command "am start -W -a android.intent.action.MAIN -ncom.fizion.app/.MainActivity" on target 58c846617d74... Running command: C:\Android\sdk\platform-tools\adb.exe -s 58c846617d74 shell am start -W -a android.intent.action.MAIN -ncom.fizion.app/.MainActivity Command finished with error code 0: C:\Android\sdk\platform-tools\adb.exe -s,58c846617d74,shell,am,start,-W,-a,android.intent.action.MAIN,-ncom.fizion.app/.MainActivity

LAUNCH SUCCESS No scripts found for hook "after_emulate".

[OK] Your app has been deployed. Did you know you can live-reload changes from your app with --livereload?

I:\ADT_projects\fizion>

App is not installed on the device and no errors in the above console as well.

Expected behavior:

App should be installed into device.

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

insert the output from ionic info here

@ionic/cli-utils : 1.19.2 ionic (Ionic CLI) : 3.20.0 global packages: cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) local packages: @ionic/app-scripts : 3.2.0 Cordova Platforms : android 7.0.0 Ionic Framework : ionic-angular 3.8.0 System: Android SDK Tools : 26.1.1 Node : v8.11.2 npm : 6.1.0 OS : Windows 10 Environment Variables: ANDROID_HOME : C:\Android\sdk Misc: backend : pro

kpvsrkp commented 5 years ago

Can someone help here.. it is a blocker.