MY ACCOUNT / MY ORGANIZATON
Troubleshooting
BEST PRACTICES

Building Android Applications

Before starting your first Android app build, please make sure you first create a build profile and connect your Git repository to your build profile. You can refer to the page below for this step:

After connecting your repository, please add or create your Android Keystore. You can refer to the page below for this step:

When you are done with the steps above, you can now start building your Android application.

Build Configuration

First we need to set up build configuration.

Click on the gear icon on top right to access build configuration. First step will be the build project details. You can enter details manually or click on the Fetch button to retrieve them from your project.

Sending the Build Status to the Repository Providers

At the bottom of the config tab, you will the Set Commit Build Status option.

When this option is enabled, the build status for that commit is shared with the repository provider.

Build Triggers

Appcircle allows you to trigger builds manually or automatically using build triggers.

  • On push: Whenever code is pushed to a configured branch, the build is triggered.

  • On a tagged push: Whenever a tagged commit is pushed, the build is triggered for that commit. Commits without any tags are ignored.

  • On push with selective tags: Whenever a commit includes one of typed in tags, the build is triggered. You can specify tags with Unix shell-style wildcards to trigger builds.

You can visit the following page for details on build triggers:

Signing

Next step on build configuration is Signing. Here, please select the Android Keystore you added at Android Keystores page.

You can get both unsigned and signed build artifacts based on your configuration. Please note that unsigned builds will not be distributed by email.

Distribution

Next step on build configuration is Distribution. You can create a new distribution profile at this screen or select a previous profile you created earlier. You can also enable auto distribution feature if you need to.

Any previous build can be deployed to the Distribute module without the need for rebuilding.

Environment Variables

Final step on build configuration is Environment Variables.

Appcircle Build module is simple and powerful. You can get your builds instantly just with a few clicks, advanced management of builds is also possible with the environment variables and workflows.

You can define variables and secrets to be incorporated during the build in the Environment Variables submodule so that you don't need to store certain keys and configurations within the repository.

Please see the following page for more information about environment variables:

Please click on the Save button and close this modal.

Workflow Editor

You can use the workflow editor for in-depth configuration of all build steps. Please click on the workflow icon to open and use workflow editor.

Any custom operation during the build can be executed through the Custom Script step in the workflow.

For details on using Appcircle's workflow editor, please see the related page below:

Start Build

You are now ready to start your first build.

At the build profile page, you can see your branches are listed on the left and commits on the right.

‚Äč

You can start the build by clicking on the arrow icon to the right of each commit.

Appcircle will start building your application. Build log window will open and you can follow build process in realtime.

You can safely close the build log window, it won't affect the status of your build. You can come back and click on the build to track the status of your build.

Distribute Your Build

Your build will be distributed automatically if you had set up auto build earlier. You can also manually distribute builds at any time you like.