Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Groovy error when using Mint Android SDK plugin and other libraries #175

@derrickrc

Description

@derrickrc

EDIT: I modified my gradle to follow the instructions for "Use the Android SDK without MINT instrumentation" instead of "with" and it seems to be building now with no conflicts

What kind of issue is this?

  • [ x] Bug report. If you’ve found a bug, spend the time to write a failing test. Bugs with tests
    get fixed. See here
    for some example tests.

Hello,

I am not sure if this is more Mint or Groovy related, but thought I would also try here - 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 which is related to groovy. 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)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions