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 sdp-android #41

Closed
vijay765 opened this issue Mar 29, 2018 · 6 comments
Closed

Failed to resolve sdp-android #41

vijay765 opened this issue Mar 29, 2018 · 6 comments

Comments

@vijay765
Copy link

vijay765 commented Mar 29, 2018

In Android Studio 3.1 , the library is not compiling and showing failed to resolve sdp-android
please give me the solution

@elhanan-mishraky
Copy link
Contributor

I tested with Android Studio 3.1 and I didn't have an issue, does it happen only for sdp and all other 3rd party dependencies you have works well?

@vijay765
Copy link
Author

vijay765 commented Mar 31, 2018

only for sdp and remaining third party libraries are working fine
the log error is Failed to resolve: sdp-android
check with below versions
the project level gradle : classpath 'com.android.tools.build:gradle:3.1.0'
in gradle wrapper properties : distributionUrl=https://services.gradle.org/distributions/gradle-4.4-all.zip

If the classpath version is 3.0.1 and gradle version is 4.1 is working fine.
please check once

@vijay765
Copy link
Author

vijay765 commented Apr 3, 2018

Did you check above versions. Give me a clarity that is it my studio is fault

@wahedzaman
Copy link

Vijay765, could you please check if you have gradle offline mode enabled or not. If turned on then turn it off and try to rebuild.

@elhanan-mishraky
Copy link
Contributor

@vijay765 I'm using the same configuration and have no issue.

@darwinfrancis
Copy link

darwinfrancis commented Jun 4, 2018

try adding

repositories {
    mavenCentral()
    jcenter {
         url "http://jcenter.bintray.com/"
    }
}

then disable offline mode and sync project.

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

4 participants