Building a native Android app
Building an Android app
The necessary command for building native Android application goes under
scripts in the overall architecture in the
codemagic.yaml file. For Android (built with gradle), the script looks like this:
- ./gradlew build
Testing, code signing and publishing an Android app
To test, code sign and publish an Android app:
- The code for testing an Android app also goes under
scripts. A few examples of testing can be found here.
- All Android applications need to be signed before release. For Gradle code signing configuration refer to the documentation. More information about code signing with YAML in general is here.
- All generated artifacts can be published to external services. The available integrations currently are email, Slack and Google Play. It is also possible to publish elsewhere with custom scripts (e.g. Firebase App Distribution). Script examples for all of them are available here.