Requirements
| Requirement | Version |
|---|---|
| Android API | 21+ (Android 5.0 Lollipop) |
| Compile SDK | 34+ |
| Java | 8+ (JVM target 1.8) |
| Kotlin | 1.6+ (if using Kotlin) |
Latest Versions
| Package | Version |
|---|---|
| Core | 1.11.2 |
| Google Ads | 2.2.0 |
| AppNexus | 1.7.0 |
Installation
Optional Add-Ons
- Google Ads
- Xandr/AppNexus
The Google Ads add-on provides:Requirements:
- Automatic AAID (Android Advertising ID) identification
- Helper methods for Google Ad Manager targeting
- Automatic contextual cohort integration (v2.2.0+)
- Google Play Services Ads dependency (included transitively)
AD_IDpermission for Android API 31+
Google Ad Manager Integration
Learn how to integrate with Google Ad Manager
Version Compatibility
Android API Levels
| SDK Version | Minimum Android API | Target Android API |
|---|---|---|
| 1.11.2 | 21 (Android 5.0) | 34 (Android 14) |
| 1.10.x | 21 (Android 5.0) | 34 (Android 14) |
| 1.8.0 - 1.9.x | 21 (Android 5.0) | 34 (Android 14) |
| 1.7.x and below | 16 (Android 4.1) | 33 (Android 13) |
Add-On Compatibility
| Add-On | Minimum Core Version | Notes |
|---|---|---|
| google-ads 2.2.0 | 1.10.0 | Contextual cohorts support |
| google-ads 2.1.0 | 1.8.0 | Minimum API 23 required |
| appnexus 1.7.0 | 1.10.0 | Contextual cohorts support |
| appnexus 1.6.x | 1.8.0+ | Compatible with older core versions |
ProGuard / R8
If you’re using code minification, the SDK includes consumer ProGuard rules automatically. No additional configuration is required.Troubleshooting
Gradle cannot find the Permutive SDK
Gradle cannot find the Permutive SDK
Cause: Maven Central repository not configured.Solution: Add Maven Central to your
settings.gradle.kts:Duplicate class errors
Duplicate class errors
Cause: Multiple SDK versions in dependencies.Solution: Force version resolution:Check dependencies with:
./gradlew app:dependenciesProGuard/R8 stripping required classes
ProGuard/R8 stripping required classes
Cause: Minification removing SDK classes.Solution: The SDK includes consumer ProGuard rules automatically. If issues persist, contact support.
Next Steps
Initialize the SDK
Set up Permutive in your Application class
Quick Start Guide
Track your first page view
Verification
Verify your integration is working
Issues
Solutions to common issues