Gradle Dependencies
Add the Zixflow SDK to your app’sbuild.gradle or build.gradle.kts file:
Kotlin DSL (build.gradle.kts)
Groovy DSL (build.gradle)
Add Maven Central Repository
Ensure Maven Central is in your repositories (usually insettings.gradle.kts or root build.gradle):
Project SDK levels
Use a toolchain that matches current AndroidX requirements:
If you stay on AGP
8.7 / compileSdk 35, transitive dependencies may pull androidx.core 1.17+ and fail AAR metadata checks. Prefer upgrading AGP and compileSdk rather than forcing older AndroidX versions.
Sync Gradle
After adding dependencies, sync your project:- Click Sync Now in the notification bar, or
- File → Sync Project with Gradle Files