If i update ionic cli, i get a app-debug.apk – but i used to get a android-debug.apk.
So, native-run is not able to run:
BUILD SUCCESSFUL
Total time: 5.597 secs
Built the following apk(s):
C:/XXX/platforms/android/build/outputs/apk/android-debug.apk
native-run.cmd android --app platforms\android\app\build\outputs\apk\debug\app-debug.apk --device
[native-run] Selected hardware device OUKITELK13Pro002121
[native-run] Error: ENOENT: no such file or directory, open ‘C:\XXX\platforms\android\app\build\outputs\apk\debug\app-debug.apk’
[ERROR] An error occurred while running subprocess native-run.
native-run.cmd android --app platforms\android\app\build\outputs\apk\debug\app-d… exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
My Ionic environment:
Ionic:
Ionic CLI : 6.4.0 (C:\Users\YYY\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : ionic-angular 3.9.8
@ionic/app-scripts : 3.2.4
Cordova:
Cordova CLI : 7.1.0
Cordova Platforms : android 6.3.0, browser 5.0.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.5.1, (and 24 other plugins)
Utility:
cordova-res : not installed
native-run : 0.2.8
System:
Android SDK Tools : 26.1.1 (C:\Users\YYY\AppData\Local\Android\Sdk)
NodeJS : v12.18.1 (C:\Program Files\nodejs\node.exe)
npm : 6.14.5
OS : Windows 10
