Use the PreEmptive Protection™ DashO™ New Project Wizard to protect an Android App Bundle (AAB). DashO analyzes your app, loads the classes and supporting libraries in the bundle, applies your protection settings, and generates a protected, signed AAB ready for distribution.
Prerequisites
- DashO installed.
- The Android SDK version your AAB requires, installed on your machine.
- Access to the keystore and signing credentials you need to sign the protected AAB.
Protect Your AAB
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: Verify the Android SDK
DashO detects the Android SDK location and the appropriate SDK version automatically. It then uses the Android manifest to extract classes and configuration information.
- Review the detected SDK information.
- Click Next.
Step 4: Review Classes
DashO displays all the classes it detects.
- Review the loaded classes.
- Click Next.
Step 5: Review Annotations
DashO displays the annotations it detects, if any.
- Review the detected annotations. If DashO doesn't detect any, skip to the next step.
- Click Next.
Step 6: Review Summary
DashO generates a project summary.
- Review the summary.
- Click Finish.
DashO loads the Input section and supporting classes.
Step 7: Configure Signing
- Navigate to Output > Signing.
- Enter your signing information:
- JAR signing tool
-
.jkskeystore file - Keystore password
- Alias information
- Required signing parameters
Step 8: Build the Protected AAB
- Click Build.
- Find the build output in your selected output directory. DashO generates:
- The protected AAB
- The
project.doxconfiguration file
Both files are generated in the selected output directory.
Protect an AAB with the DashO Gradle Plugin
- Configure the DashO Gradle plugin. See DashO Gradle Plugin for Android Configuration.
-
Run the build command to generate the release AAB with your DashO protection settings applied.
If your project contains the Gradle wrapper:./gradlew bundleReleaseIf the Gradle wrapper is unavailable:
gradlew bundleRelease
Troubleshooting
| Issue | Cause and resolution |
| You can't upload or deploy the protected AAB to an app store. | The AAB isn't signed. Configure signing and build again. |