All Apps and Add-ons

Android build errors due to compileDebutMINTInstrumentation / Aspect?

policenauts
Engager

Edit: I modified the gradle instructions to use mint WITHOUT instrumentation and it seems to be working now. I am also using 5.1.0.

Hello,

I am using the Mint SDK for my Android project per these instructions: https://docs.splunk.com/Documentation/MintAndroidSDK/5.2.x/DevGuide/AddSplunkMINTtoyourproject

It has been working great. However, I am getting build errors in two cases that I believe are due to a line of code in the Mint SDK. When I comment out "apply plugin: 'com.splunk.mint.gradle.android.plugin'" in my app level gradle, the app builds successfully.

1) I imported a new module that utilizes Lambda expressions and Java 8.

org.gradle.api.GradleException: The type java.lang.invoke.LambdaMetafactory cannot be resolved. It is indirectly referenced from required .class files
at com.splunk.mint.gradle.android.AspectjCompile.compile(AspectjCompile.groovy:73)

2) When I try to install Firebase Performance Monitoring:

Expecting .,<, or ;, but found firebaseperf while unpacking <K:Ljava/lang/Object;>Lcom/google/android/gms/internal/firebase-perf/zzw<TK;>;
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':usbSerialExamples:compileDebugMINTInstrumentation'. at com.splunk.mint.gradle.android.AspectjCompile.compile(AspectjCompile.groovy:73) at

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...