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

Failed to resolve: com.datadoghq:dd-sdk-android:1.6.1 #425

Closed
Arthur-Tavais-Turbi opened this issue Nov 26, 2020 · 3 comments
Closed

Failed to resolve: com.datadoghq:dd-sdk-android:1.6.1 #425

Arthur-Tavais-Turbi opened this issue Nov 26, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@Arthur-Tavais-Turbi
Copy link

Thanks for taking the time for reporting an issue!

Describe what happened
Gradle unnable to resolve dependency implementation on Android Java project:
Failed to resolve: com.datadoghq:dd-sdk-android:1.6.1

Steps to reproduce the issue:
Added maven { url 'https://dl.bintray.com/datadog/datadog-maven' } to my repositories in my gradle file and
implementation 'com.datadoghq:dd-sdk-android:1.6.1' to my dependencies

Describe what you expected:
Should have imported the dee

Additional context

  • Datadog SDK version:
    1.6.1
  • Gradle Plugins
    apply plugin: 'com.google.gms.google-services'
    apply plugin: 'com.android.application'
    apply plugin: 'com.google.firebase.firebase-perf'
    apply plugin: 'kotlin-android'
    apply plugin: 'kotlin-android-extensions'
    apply plugin: 'com.google.firebase.crashlytics'
@Arthur-Tavais-Turbi Arthur-Tavais-Turbi added the bug Something isn't working label Nov 26, 2020
@mariusc83
Copy link
Collaborator

Hi @Arthur-Tavais-Turbi , we tried to reproduce the issue on our end but we are not able to, everything work fine on our end. Can you please confirm that you are adding this block:

repositories {
     maven { setUrl("https://dl.bintray.com/datadog/datadog-maven") }
}

before the dependencies block in your build.gradle file ?

@aliztekup
Copy link

It'd be great if you could include this solution in your onboarding documentation (Edit RMU App --> Instrument your application) in your site as well. It doesn't say about adding the datadog-maven repo. Currently it says:

Add the Gradle dependency by declaring the [dd-sdk-android](https://github.com/DataDog/dd-sdk-android) and [DataDog/dd-sdk-android-gradle-plugin](https://github.com/DataDog/dd-sdk-android-gradle-plugin) as dependencies in your build.gradle file:

plugins {
    id("com.datadoghq.dd-sdk-android-gradle-plugin")
}
dependencies {
    implementation "com.datadoghq:dd-sdk-android:x.x.x"
}
buildscript {
    dependencies {
        classpath("com.datadoghq:dd-sdk-android-gradle-plugin:x.x.x")
    }
}

@0xnm
Copy link
Contributor

0xnm commented Mar 13, 2023

Hello @aliztekup! Since version 1.8.1 (which was released 2 years ago), our SDK is hosted on the Maven Central instead. We suggest you to use the recent version, so that no dependency on the Bintray is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants