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!

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 ...