I TRIED cordova emulate --device for the first attempt i don’t know how to generate an apk file and an error occured saying failed to find android command in your path !! help me please!!!
If you are on Windows make sure that you set the Android sdk path in your environment variable’s.
Go through the ionic getting started again in case you missed something
1 Like
To generate an apk you would use ionic build android
.
The Cordova documentation is quite detailed on what you have to install:
https://cordova.apache.org/docs/en/7.x/guide/platforms/android/index.html#installing-the-requirements
What exact error was that?
2 Likes
thanks i’ll take a look on this documentation
1 Like