Export a Native APK for Google Play

Get your app ready to submit directly to the app stores

This guide will take you from start to finish, and give you everything you need to end up with an APK file ready for submission to the Google Play Store.

1. Install the Java JDK

You will need to have keytool installed, which is included in the Java JDK. First, download and install the Java JDK if you have not already.

🚧

Not sure if you have it installed?

Open a command line / terminal and type the command: keytool. If the command is not found, then you need to download and install the Java JDK.

2. Create Your Android Keystore

Now that you have the Java JDK installed, you can create your Android Keystore.

  1. Choose a value for your key alias. This is just a descriptive string that identifies your app. It is common practice to use letters, numbers, and underscores here. Your key alias is case sensitive. For example: my_chat_app.

  2. Now type of following command, replacing MY_KEY_ALIAS with the value you chose above. Also replace KEYNAME.keystore with something like my-chat-app.keystore (you can name this file whatever you'd like).

keytool -genkey -v -keystore KEYNAME.keystore -alias MY_KEY_ALIAS -keyalg RSA -keysize 2048 -validity 10000

  1. You will be prompted to choose two passwords that are individually associated to both your key alias and your keystore file. Do not forget these passwords, because there is no way to recover them.

Note: To learn more about the Android Keystore, see the official docs.

3. Export Your App From Creator

Now that you've generated your Android Keystore, you are ready to export your app from Creator.

First, open the Export popup:

698

Next, click on Package and follow these step:

744
  1. Select the Settings tab
  2. Enter your App ID, such as "com.whatever.MyApp".
  3. Choose a version number, for example 0.0.1
  4. Enter a name for your Security Profile, such as android prod.
  5. Click on Create Profile
  6. Click on "Add Android" to add your Android Keystore that you previously generated

Now, simply upload your keystore file and type your key alias from STEP 2, using the passwords you chose.

1480

Click the big blue "Add Android Credentials" button.

Now you're ready to finally export your app. Click on the "Build" tab of the Export popup.

  1. Select Android as your platform.
  2. Choose either Debug (for development and testing) or Release (to submit your app to the app store).
  3. Choose your Android security profile.
  4. Click "Package Project" and your APK file will be e-mailed to you.

🚧

Development vs. Production

Repeat STEP 2 and STEP 3 of this guide to generate TWO sets of Android Keystores. It is common practice to use one keystore for development, and one keystore for production. You will then create TWO separate security profiles in Creator -- one for debug, and one for production.

1434