Appxiom SDK Requirements for Android
To successfully integrate Appxiom SDK into your Android application, ensure your project meets the following requirements. This will guarantee compatibility, optimal performance, and access to all monitoring features.
| Category | Supported |
|---|---|
| Minimum SDK Version | 21 (Lollipop) or above |
| Target SDK Version | 34 |
| Android Gradle Version | 7.x.x or above |
OkHttp Dependency Management
Appxiom SDK is packaged with v4.11.0 of OkHttp. If your project uses a different version of OkHttp, you can override the SDK’s version by adding the following to your app-level build.gradle file. This ensures Gradle uses your specified OkHttp version and avoids conflicts.
Replace x.x.x with the version you require:
dependencies {
// ...other dependencies
}
configurations.all() {
resolutionStrategy.force "com.squareup.okhttp3:okhttp:x.x.x"
}
Getting Started with Appxiom SDK
- Register for an Appxiom account at appxiom.com and log in to the dashboard.
- Use the
+at the top left corner to create an app. - Link your Android application to Appxiom using the
applicationIDin the settings page. - Integrate the Appxiom SDK into your application by following the steps in next pages.
- Test your integration to ensure monitoring and reporting are working as expected.
Frequently Asked Questions (FAQ)
Q: What is the minimum Android SDK version required for Appxiom SDK?
A: The minimum supported SDK version is 21 (Lollipop).
Q: What if my project uses a different version of OkHttp than the one packaged with Appxiom SDK?
A: You can force Gradle to use your preferred OkHttp version by adding a resolution strategy in your build.gradle file as shown above.
Q: Is a specific Android Gradle Plugin version required?
A: Yes, your project should use Android Gradle Plugin version 7.x.x or above.
Q: How do I get started with Appxiom SDK?
A: Register at appxiom.com, add your app in the dashboard, integrate the SDK, and test your setup.
Q: Where can I find more integration help?
A: Refer to this Appxiom SDK documentation pages or contact support for assistance.
Q: Can I use Appxiom SDK in both Java and Kotlin projects?
A: Yes, Appxiom SDK supports both Java and Kotlin for Android development.
Q: What if my project uses a lower Gradle version?
A: Upgrade to at-least version 7.x.x to ensure compatibility with Appxiom SDK.
Q: Are there any other dependencies required?
A: OkHttp is required, but you can manage the version as described above. No extra dependencies are needed.