This article explains how to use the DashO New Project Wizard to protect an Android App Bundle (AAB). During this process, DashO analyzes the application, loads the classes and supporting libraries contained in the bundle, applies the configured protection settings, and generates a protected, signed AAB for distribution.
Before starting, ensure that the required Android SDK version is installed and that you have access to the keystore and signing credentials needed to sign the generated App Bundle. A valid signature is required before the protected AAB can be uploaded to application distribution platforms.
Step 1: Create a New Project
- Open DashO.
- Navigate to New Project Wizard.
- Select Android Artifacts (APK/AAB).
- Click Next.
Step 2: Select AAB File
- Browse and select the .aab file.
- Click Next.
Step 3: SDK Detection
- DashO automatically detects:
- Android SDK location
- Appropriate SDK version
- Click Next.
DashO extracts classes and configuration information using the Android manifest.
Step 4: Review Classes
- All detected classes will be displayed.
- Review the loaded classes.
- Click Next.
Step 5: Review Annotations
- DashO displays detected annotations if available.
- If no annotations exist, proceed directly.
- Click Next.
Step 6: Review Summary
- A project summary screen is generated.
- Review the information.
- Click Finish.
The Input section and supporting classes are now loaded.
Step 7: Configure Signing
Use the following for signing:
- JAR Signing Tool
- .jks keystore file
- Keystore password
- Alias information
- Required signing parameters
Step 8: Build the Project
- Click Build.
- DashO generates:
- Protected AAB output
- project.dox configuration file
Both files are generated in the selected output directory.
To explore additional protection options, see Understanding Protection.
DashO Gradle Plugin Configuration for AAB
Configure the DashO Gradle plugin using the official setup guide: DashO Gradle Plugin for Android Configuration.
Build Commands
If your project contains the Gradle wrapper:
./gradlew bundleReleaseIf the Gradle wrapper is unavailable:
gradlew bundleReleaseThis command generates the release AAB file after applying DashO processing and protection configurations.