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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...