Prerequisites
Before integrating the Empower Mobile Ads SDK, ensure your development environment meets the following requirements.
Minimum Requirements
| Requirement | Version |
|---|---|
| Android API Level | 21 (Android 5.0 Lollipop) or higher |
| Compile SDK | 35 or higher |
| Java compatibility | Source and target 11, with core library desugaring enabled (see Integration) |
| JDK for builds | 17 or higher (required by Android Gradle Plugin 8) |
| Kotlin | 2.1 or higher (for Kotlin projects) |
| Android Gradle Plugin | 8.6 or higher (Gradle 8.7+) |
Required Permissions
The SDK requires the following permissions, which are automatically merged into your app's manifest:
android.permission.INTERNET- Required for requesting and serving adsandroid.permission.ACCESS_NETWORK_STATE- Required for detecting network connectivity
Google Play Services
The Empower SDK already includes the Google Mobile Ads SDK (play-services-ads 23.6.0). If your project can use a newer version, add it to your app module. Otherwise skip this step.
- Kotlin DSL
- Groovy
app/build.gradle.kts
implementation("com.google.android.gms:play-services-ads:25.2.0")
app/build.gradle
implementation 'com.google.android.gms:play-services-ads:25.2.0'
ProGuard / R8
If you use ProGuard or R8, note that the Empower Mobile Ads SDK and the bundled mediation adapters come with the required ProGuard rules in their AARs. You do not need to add any ProGuard rules to your project.