My app is working perfectly on browser but i want to run it on android phone.When i run the command it shows me error.Please help me to solve this.
Please, post the output of your ionic info
and ionic platform ls
please so we know the environment you are working in.
You are using wrong command.
Use
ionic platform add android
for adding android to project
And
Ionic build android
For creating apk for your project.
1 Like