IntelliJ IDEA 2019.2 Help

Android tab

Use this tab to manage the settings related to packaging your application for Android.

Note that this tab is available only if the target platform of the build configuration is Mobile (AIR Mobile) and the output type is Application.

Item

Description

Enabled

Turn this option on if you are going to use the build configuration for creating an application descriptor and packaging your application for Android.

Application descriptor

Specify the application descriptor to be used:
  • Generated. An auto-generated descriptor will be used.

  • Custom template. The descriptor generated according to the specified template will be used.

    To use an existing template, click the Browse button Shift+Enter and select the template file in the dialog that opens.

    To create and use a new file, click Create. In the Create AIR Descriptor Template dialog that opens, specify the descriptor file properties and click Create.

    When the template is used for generating the application descriptor (e.g. during the compilation or packaging), the text in the <content> element is replaced with the name and extension .swf of the application file.

Package file name

Specify the name of the resulting package file.

Files and folders to package

In addition to the application SWF file, you may also want other application assets to be packaged. If so, specify the locations of these additional assets.

  • Path to file or folder. Edit the absolute path to the file or folder where the desired asset resides. Use the Browse button Shift+Enter to select the file or folder in the corresponding dialog.

  • Its relative path in package. Specify the relative asset location in the package.

  • icons general add svg Alt+Insert. Use this icon or shortcut to add another asset to the list. Select the asset location in the dialog that opens.

    Note that for assets within the module source roots, their relative locations in the package, by default, will be set the same as in the source folder. That is, for a file <src>\images\my_icon.png, its relative location in the package, by default, will be images\my_icon.png.

  • icons general remove svg Alt+Delete. Use this icon or shortcut to remove the selected item or items from the list.

Use temporary self-signed certificate

Select this option to sign the package with a pre-installed self-signed certificate. Otherwise, specify the settings related to signing the package (see below).

Keystore file

Specify the path to the keystore file. (This is where a private key and corresponding certificate are stored.)

Type the path in the field or click the Browse button Shift+Enter and select the keystore file in the dialog that opens.

(If your keystore type is PKCS12, your keystore file, most probably, has the .p12 extension.)

Keystore type

Specify your keystore type. The default value PKCS12 corresponds to a keystore file with the .p12 extension.

More options or Less options

Click the link to show or hide the options described below.

Key alias

Specify the key alias.

Note that the alias is not necessary if the keystore contains only one key.

Provider class

Specify the Java Cryptography Architecture (JCA) provider for the specified keystore type.

Last modified: 17 October 2019