Generate Android app

Learn how you can generate an Android app using the Mobile app output preset in RoboHelp.

Observação:

For details on the mobile app output preset in RoboHelp, see Generate Mobile App output.

Generate an android mobile app

  1. In the authoring window of your project, click the Quick Generate icon  in the upper-right corner of the standard toolbar.

  2. Select a Mobile app output preset in the Quick Generate dialog box. To configure the settings, do one of the following:

    • Click the Edit Settings icon  in the Quick Generate dialog box.
    • Click the Output tab at the left side of the Standard toolbar.

    The Output view opens.

  3. In the Output toolbar, click Output Presets. In the Output Presets panel, do one of the following:

    • Double-click the desired Mobile app output preset.
    • Click the  icon next to the desired output preset and select Edit.
  4. Configure the output preset. See Configure a Mobile app output preset for details.

  5. In the Signing Key tab of the configuration settings, select Generate Android App and specify the following:

    Keystore file:

    This file is used to authenticate yourself. If you sign an Android app, it implies that you are branding your application with your credentials. You can brand multiple applications with the same key. See the section below on how to Generate a keystore file.

    Keystore password:

    The password for your keystore file. This pasword is requried to Generate a keystore file.

    Certificate Alias:

    Alias name for your keystore.

    Certificate Password:

    The password for the alias name for your keystore.

  6. To save your settings, click the Save icon  in the upper-left corner of the standard toolbar in the Output view.

  7. Click the Generate Preset icon  in the Output Presets panel. 

    You can then view a progress bar next to the selected output preset in the Output Presets panel. Once the output generation is complete, a Success dialog box is visible at the lower-right corner of the screen.

Generate keystore file

Keystore File:

This file is used to authenticate yourself. If you sign an Android app, it implies that you are branding your application with your credentials. You can brand multiple applications with the same key.

You can use the script contained in the attached zip archive to generate a keystore file:

Download

You need to import the script into your RoboHelp project and run the script. To do this, follow these steps in RoboHelp Classic (2019 release):

  1. Download the AndroidKeyGenerator.zip and extract the AndroidKeyGenerator.jsx.

  2. Open your RoboHelp project in RoboHelp Classic (2019 release).

  3. Select Projects > Pods > Script Explorer.

  4. Click Import Script Files and import the AndroidKeyGenerator.jsx file.

  5. Right-click AndroidKeyGenerator.jsx and select Run.

In the Android Key generator dialog, enter the following information:

Java bin folder path:

Path to Java bin folder on your computer.

Keystore name:

Name of your keystore file.

Keystore alias:

Alias name for your keystore.

After you click the Generate Preset icon in the Output Presets panel, you will be prompted for the following information in the command prompt:

Keystore password:

The password for your keystore file.

Personal information:

 

Your first and last name separated by a space

Name of your organizational unit

Name of your city

Name of your province

Two letter code for your country. For example: US for United states or UK for United Kingdom

Enter Yes in the confirmation message.

Finally, you will be prompted for a password. Enter a password. Or press Enter if you want use the keystore password. This password will be used as the Certificate password in the Robohelp android signing key set-up.

If all the details are correct, the keystore file will be created in the Documents folder of your user area.

For example: For a user John Doe, the file is created in the following location:

C:\Users\jdoe\Documents

 Adobe

Receba ajuda com mais rapidez e facilidade

Novo usuário?