I am new to IONIC. I am learning it.
I am trying to run the ionic app for android but it gives me below error.

Build is successful but an error occurred while running subprocess native-run.
If i run the ionic app for browser, then it's okay. No error happens
Update my IONIC version to 5.4.9
And Platform-Tools to 29.0.5
Error change:
[native-run] No hardware devices found, attempting emulator...
[native-run] Selected emulator emulator-5554
[native-run]Installing platforms\android\app\build\outputs\apk\debug\app-debug.apk...
[native-run] ERR_UNKNOWN: Non-zero exit code from adb: 1
[ERROR]An error occurred while running subprocess native-run.

Device offline...There's no device connected to your computer or you have not enabled debugging on your device. If you are not running it on a device run the command ionic cordova run android --emulator Ensure you have an emulator in your android sdk.
some times you may not activated the developer mode on your device.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With