Error when ionic run android --device

i am trying to run my app in device but showing error like Error: The platform “andriod” does not appear to have been added to this project.

please help me with this

Did you add the android platform to your project?

If not:

$cordova platform add android

Not sure whether to cry or facepalm.

First off… it is android and NOT andriod

Those commands should fix it:

> ionic cordova platform add android
> ionic cordova run android
> ionic cordova build android (if you want to create a debug APK)
1 Like

thank you it working