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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...