Installation
This guide covers installing the Privacy Boost Android SDK in your project.Requirements
- Android API 21+ (Android 5.0 Lollipop)
- Kotlin 1.8+
- Android Studio Arctic Fox (2020.3.1) or later
Gradle Setup
Kotlin DSL (build.gradle.kts)
Add the dependency to your app’sbuild.gradle.kts:
Groovy DSL (build.gradle)
Repository Configuration
If not using Maven Central, add the repository:ProGuard/R8 Rules
The SDK includes consumer ProGuard rules. If you need custom rules:Native Library Loading
The SDK includes native libraries for multiple architectures:armeabi-v7aarm64-v8ax86x86_64
Verifying Installation
Create a test to verify the SDK loads correctly:Permissions
Add required permissions toAndroidManifest.xml:
Troubleshooting
UnsatisfiedLinkError
If you see native library loading errors:- Ensure the correct architecture is included
- Check that the AAR is properly unpacked
- Try cleaning and rebuilding:
./gradlew clean build
Dependency Conflicts
If you have Kotlin coroutines version conflicts:Multidex
For API < 21 or large apps, enable multidex:Next Steps
- Getting Started - Initialize and use the SDK
- WalletDelegate Guide - Implement wallet integration