Menu
Menu
inquire
DexProtector Android documentation

Documentation

iOS documentation
Android menu

Android

Getting started

1. Download

Downloading and activating DexProtector is straightforward. Once you have requested a trial or purchased a full license, we will send you an email containing a download link and a unique, single-use activation code.

Click the link to download a zip file containing the distribution package. Extract the contents of the zip file to the destination folder.

Distribution package contents

  • Executable jar file - dexprotector.jar
  • Annotations library - dexprotector-annotations.jar
  • Maven plugin - dexprotector-maven-plugin.jar
  • Gradle plugin - dexprotector-gradle-plugin.jar
  • Configuration file - dexprotector.xml
  • Ant settings file – custom_rules.xml
  • License texts - NOTICE, LICENSE

The email containing the distribution package will also contain a link to DexProtector Studio. For more information, see our guide to DexProtector Studio.

2. Activate

You can activate DexProtector either via your command-line interface, or via DexProtector Studio; activation is possible both online and offline.

Activation codes are single-use. If the original license file is lost, or if the hardware or software configuration is changed, you will need to contact support for a new code.

Activate via CLI (online)

To activate DexProtector online via the command line, run the following command, then follow the instructions generated:

java -jar dexprotector.jar -activate

After successful activation, the license file dexprotector.licel will be created in the user's home folder.

To use a license file not located in the home folder, specify the path to the license file via the special option provided in the CLI.

Activate via CLI (offline)

To activate DexProtector offline via the command line, run the following command:

java -jar dexprotector.jar -activationRequest

Enter your activation code as prompted. When you have entered a valid activation code, a request code will be generated. Email this request code to our support team

You will receive a response code as soon as possible, within a maximum of 1 business day.

When you have received the response code, run the following command and then enter the response code when prompted:

java -jar dexprotector.jar -activationResponse

After successful activation, the license file dexprotector.licel will be created in the user's home folder.

To use a license file not located in the home folder, it is necessary to specify the path to the license file.

Activate via DexProtector Studio (online)

  1. Click on ‘License Info’ to the right of the bar at the bottom of the window.
  2. Click ‘Activate License’ and follow the instructions in the new window. To activate your license and obtain a license file online, simply enter the unique, single-use activation code provided in the email with your download links. If you don’t have an active Internet connection, or prefer offline activation, see how to Activate via DexProtector Studio (offline).
  3. After successful activation, the license file dexprotector.licel will be created in the user's home folder.

Activate via DexProtector Studio (offline)

  1. Click on ‘License Info’ to the right of the bar at the bottom of the window.
  2. Click ‘Activate License’ and follow the instructions in the new window. If you don’t have an active Internet connection, or have prefer offline activation, enter the unique, single-use activation code provided in the email with your download links, and then click ‘Generate activation request’.
  3. When you have entered a valid activation code, a request code will be generated. Email this request code to our support team. You will receive a response code as soon as possible, within a maximum of 1 business day.
  4. When you have received your response code, return to the same ‘Activate License’ window, and click ‘I Already Have My Activation Response Code’. In the following window, enter the response code you’ve received and click ‘Activate’ to complete the license activation procedure.
  5. After successful activation, the license file dexprotector.licel will be created in the user's home folder.

3. After activation

Once you have successfully activated DexProtector, you can begin the process of protecting your app. The first step is to specify what you want to protect and how exactly you want to protect it by configuring your protection settings.