Building with Cordova - PART 02 - Build an Android App

Index

Stats

6,252 visits, 32,490 views

Translations

This tutorial hasn't been translated.

Tools

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

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