All Apps and Add-ons

Splunk MINT: How to resolve "Error:(38, 13) Failed to resolve: com.splunk:mint-android-sdk:5.2.0" after using Android Gradle plugin 2.2.3?

TheArrival
New Member

Hello Support and Community,

i'm trying to setup the Splunk Mint SDK for Android using the Gradle plugin. I added the following link to my Gradle file:

buildscript {
    repositories {
        maven {
            url uri('mint-plugin-repo-5.2.0')
        }
    }
}

dependencies {
    compile 'com.splunk:mint-android-sdk:5.2.0'
}

when trying to sync the Gradle, i get the following error:

Error:(38, 13) Failed to resolve: com.splunk:mint-android-sdk:5.2.0

Thanks in advance
Marcus

Tags (3)
0 Karma

croyal_splunk
Splunk Employee
Splunk Employee

Are you using Android Studio 2.2?

Requirements:

Android Studio version 2.1.x. Note that Android Studio 2.2 or later is not supported.

You have a couple of options: 1) use the SDK as library without our Gradle Plugin or 2) wait until Android SDK 5.2.1, which will include Android Studio 2.2 support.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...