Building with Cordova - PART 02 - Build an Android App

2

Index

Stats

15,629 visits, 53,733 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 4 Oct, 2015. Last updated 19 Feb, 2019

Step 4 - Configure Cordova to Build for Android

4.1 - Go back to the console window ("cmd") and make the current folder the folder "MyCordovaProject" which Cordova created for our project in the previous tutorial. "cd \MyCordovaProject"

4.2 - Type "cordova platform list" (without the quotes) and press Enter. This will show all available platforms configured for our project. "Installed platforms" does not have any items because we haven't done anything yet. We need to pick android from the "Available platforms" section.

4.3 - Type "cordova platform add android" and press Enter. Wait a few seconds while Cordova makes its configurations.

4.4 - Now when you call "cordova platform list", you should see android listed in the "Intalled platforms" section.

  • 0 Comments

Want to leave a comment? Login or Register an account!