Building with Cordova - PART 02 - Build an Android App

2

Index

Stats

15,619 visits, 53,716 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 8 - Build the APK!

8.1 - You must close the console window and open a new one for the ANDROID_HOME variable to take effect. Now go to the command line window, type the following to build the APK file and press Enter:

"cordova build --release --device android"

8.2 - Wait for the build to be completed. When it's done, open the folder below in Windows Explorer and take a look at our compiled game:

"C:\MyCordovaProject\platforms\android\build\outputs\apk"

You will find two files: one is for ARM devices and the other one for x86 devices.

I won't go into detail about what each one means but we will want the ARM apk file to test it on our smartphone. We only need one.

  • 0 Comments

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