Skip to main content

Android code signing with Android Studio

Abstract

You can specify the code signing configuration for your project in Android Studio before running a Bitrise build. You will need a keystore file, a key alias and a key password.

You can specify the code signing configuration for your project in Android Studio. You will need a keystore file, a key alias and a key password - have these ready before you start the procedure!

  1. Open Android Studio.

  2. Go to Project navigator.

  3. Select your project and open Module Settings.

  4. From Modules, select your module.

  5. On the Signing tab, fill out the signing information. In our example, we used the following values:

    • Name: release

    • Key alias: MyAndroidKey

    • Key password: ***

    • Store file: /path/to/my/keystore.jks

    • Store password: ***

Once you filled out the signing information, the signingConfigs block will be created in your module’s build.gradle file. On Bitrise, you just need to build the app, either with the Android Build or the Gradle Runner Step.