Using the Shielding Tool
  • 22 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

Using the Shielding Tool

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

To add App Shielding to your application you need

  • Java

  • The Shielding Tool

  • an apk file (app.apk) or an app bundle (app.aab) of your application

  • a configuration file (e.g., config.xml)

You can integrate App Shielding into your application by running the following command:

java -jar Shielder.jar --config config.xml [options] app.aab

This produces the following output files:

  • shielded-app.apk or shielded-app.aab:

    The protected application.

  • mapping.txt

    The name mappings of the Java class name obfuscation that the Shielding Tool tool applied. This is useful for decoding stack traces, so this file should be kept for all distributed app versions. See Using the Shielding Tool with ProGuard or R8 for more information.

Before the protected application can be tested, or deployed, it needs to be signed. The Shielding Tool can do this automatically. See Signing the application for more information.

App Shielding supports both Android App Bundles (.aab) and Android application (.apk) files. The output application file type will match the input application file.
In the following examples we may use one or the other input file type, but the commands are applicable for any type.

For more information on how to use the Shielding Tool, see:


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle