Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
derrickrc opened this issue Feb 25, 2019 · 0 comments
Open

Comments

@derrickrc
Copy link

derrickrc commented Feb 25, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant