-
Notifications
You must be signed in to change notification settings - Fork 60
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
1.3.0 Release: App build failed for devices with Android API less than 26 #180
Comments
Thanks for submitting this issue, we'll look into that and provide a fix ASAP |
I am seeing this error as well with 1.4.0-beta1 |
@KirillBorodin there was an issue in the artifacts @gpowell13 can you try adding the following excludes to your kotlin implementation("com.datadoghq:dd-sdk-android:1.4.0-beta1") {
exclude(group = "com.google.guava", module = "listenablefuture")
exclude(group = "com.lmax", module = "disruptor")
} groovy implementation "com.datadoghq:dd-sdk-android:1.4.0-beta1" {
exclude group: "com.google.guava", module: "listenablefuture"
exclude group: "com.lmax", module: "disruptor"
} |
@xgouchet Just retried:
The issue is still present: |
Thanks for the quick feedback by the way. Really appreciate it. |
@KirillBorodin can you also clean your gradle cache and local maven repository to make sure it's indeed using the updated version of the library ? exclude group: "com.lmax", module: "disruptor" |
This is fixed as of version |
Describe what happened
With
com.datadoghq:dd-sdk-android:1.3.0
app build failed with nexterror:
Error: C:\Users\Kirill\.gradle\caches\transforms-2\files-2.1\d6c780953302a96e24317c3588620170\jetified-disruptor-3.4.2.jar:com/lmax/disruptor/util/ThreadHints.class, void com.lmax.disruptor.util.ThreadHints.onSpinWait(), MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 26)
When I switched back to
"com.datadoghq:dd-sdk-android:1.2.2"
it works.Steps to reproduce the issue:
implementation "com.datadoghq:dd-sdk-android:1.3.0"
for your projectDescribe what you expected:
Additional context
Proguard configuration: empty
Gradle Plugins:
3.6.1
One notice: I didn't add this lines of code for build.gradle(:app):
{ exclude group: "com.google.guava", module: "listenablefuture" }
as I am getting another error:Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method com.datadoghq:dd-sdk-android:1.3.0() for arguments [build_51j9qrhttyw5g4zdn6hs7qdap$_run_closure3$_closure20@2bd02ded] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
So, my implementation of datadog looks next:
The text was updated successfully, but these errors were encountered: