Cannot run ionic 4 app on device

I tried to run

ionic cordova run android --device

native-run does not create a the debug folder and file and does not read it if I create it manually. I I tried adding and removing different versions of android. Tried with the latest version of gradle. Tried with ionic cordova run android --no-native-run but I get a blank screen.

These are my settings:

Ionic:

Ionic CLI : 5.2.5 (C:\Users\Ivo\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.11.5
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.1.1

Cordova:

Cordova CLI : 7.1.0
Cordova Platforms : android 6.3.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 4 other plugins)

Utility:

cordova-res : not installed
native-run : 0.0.16

System:

Android SDK Tools : 26.1.1 (C:\Users\Ivo\AppData\Local\Android\Sdk)
NodeJS : v10.11.0 (C:\Program Files\nodejs\node.exe)
npm : 6.9.0
OS : Windows 10

Hello,
Remove platform and add it again after, connect your device to your pc via USB cable then just run

ionic cordova run android
1 Like