Search docs/

Build a Native Binary

Next we'll build an Android Debug binary using the Ionic Package service.

Note: If you'd like to build an Android Release binary or any iOS binary, you'll need to generate signing credentials and add them to a security profile in the Appflow Dashboard.

Start a Package Build

In order to download a binary of your application, you will first need to create a Package build.

There are two ways to do this:

  • Click the Start build icon from the Commits tab Start Build from Commits
  • Click the New build button in the top right from the Build > Builds tab New Build

Select the proper commit for your build. There are several required and optional fields you can specify:

  • Target Platform - The platform for your build (iOS or Android)
  • Xcode Version (iOS Only) - The Xcode version used to build your iOS binary (use the recommended version if possible)
  • Build Type - The type of build for the given platform (See iOS build types or Android build types)
  • Security Profile - The signing credentials for the for the build (if required)
  • Environment - The environment to use to customize your build process
  • Native Config - The Native Config to use to customize your app configuration

For the quickstart tutorial, select the Android platfrom and the Debug type build which requires no other configuration. Once the build begins, you can view the progress and review the logs if you encounter errors.

Running Web Build

Downloading the Build

Note: If you have trouble getting a successful build in the previous step, you can find answers to common Package build errors in this section of our knowledge base.

A successful Package build yields an iOS binary (.ipa or IPA) or an Android binary (.apk or APK) file. Once you have a successful build, you can download it so that you can install it on a device by clicking the file name in the Artifacts section in the right of the build detail page or clicking the Download IPA/APK icon on the build in the Build > Builds tab.

Download Package Build

Previous
Deploy a Live Update
Next
Create an Automation