i typed ionic cordova run androd --device
then cause error like below.
My ionic project is on Documents folder on my mac. but don’t know why /Users/username???
BUILD SUCCESSFUL in 3s
42 actionable tasks: 42 executed
Built the following apk(s):
/Users/username/platforms/android/app/build/outputs/apk/debug/app-debug.apk
> native-run android --app platforms/android/app/build/outputs/apk/debug/app-debug.apk --device
[native-run] Selected hardware device LGMG600K7a706c5a
[native-run] Error: ENOENT: no such file or directory, open 'platforms/android/app/build/outputs/apk/debug/app-debug.apk'
[ERROR] An error occurred while running subprocess native-run.
native-run android --app platforms/android/app/build/outputs/apk/debug/app-debug... exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
- more funny thing is that after above error, I typed again
then cause more weird error
Using cordova-fetch for cordova-android@8.1.0
Platform android already added.
[ERROR] An error occurred while running subprocess cordova.
cordova platform add android --save exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
???Platform android already added.???
I tried to run android on my device but they said platform android is already added…
how can I run my app on android real device…