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
Getting error while adding the dependency #39
Comments
Hi @sdutta9, could you please post the content of your 'dependencies' section of your gradle file inside the "App" folder? Best regards, |
Below is my complete build.gradle file:apply plugin: 'com.android.application' android {
} dependencies { |
In 'repositories' you state 'mavenCentral()' but this library is on JCenter. So you could add 'jcenter()' or replace 'mavenCentral()' by it. |
Getting the same error even after replacing mavenCentral() with jcenter(). |
Could you please post the content of the build.gradle in your root folder? |
Below is my complete build.gradle file in root folder:// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { allprojects { task clean(type: Delete) { |
Do you see an error, if you execute a clean of your project? |
I resolved this issue by adding maven { url "http://jcenter.bintray.com"} |
Hi I am new to android. As you mentioned in your read me file. I added a dependency in build.gradle file. When I am trying to sync my gradle file I am getting the below error.
"Error:(27, 13) Failed to resolve: de.codecrafters.tableview:tableview:2.1.0"
Can you please help me understand as to how I can add dependency in my application. Is there any other step that needs to be done apart from putting an entry in the gradle file?
The text was updated successfully, but these errors were encountered: