GithubHelp home page GithubHelp logo

Comments (9)

ISchwarz23 avatar ISchwarz23 commented on June 20, 2024

Hi @sdutta9,

could you please post the content of your 'dependencies' section of your gradle file inside the "App" folder?

Best regards,
Ingo

from sortabletableview.

sdutta9 avatar sdutta9 commented on June 20, 2024

Below is my complete build.gradle file:

apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.3"

defaultConfig {
    applicationId "shouvik.dutta.serviceupdate"
    minSdkVersion 11
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

}
repositories {
mavenCentral()
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'de.codecrafters.tableview:tableview:2.1.0'
}

from sortabletableview.

sdutta9 avatar sdutta9 commented on June 20, 2024

Screenshot of the error:

gradle_error

from sortabletableview.

ISchwarz23 avatar ISchwarz23 commented on June 20, 2024

In 'repositories' you state 'mavenCentral()' but this library is on JCenter. So you could add 'jcenter()' or replace 'mavenCentral()' by it.

from sortabletableview.

sdutta9 avatar sdutta9 commented on June 20, 2024

Getting the same error even after replacing mavenCentral() with jcenter().

from sortabletableview.

ISchwarz23 avatar ISchwarz23 commented on June 20, 2024

Could you please post the content of the build.gradle in your root folder?

from sortabletableview.

sdutta9 avatar sdutta9 commented on June 20, 2024

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 {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
jcenter()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}

from sortabletableview.

ISchwarz23 avatar ISchwarz23 commented on June 20, 2024

Do you see an error, if you execute a clean of your project?

from sortabletableview.

ashorekumar avatar ashorekumar commented on June 20, 2024

I resolved this issue by adding

maven { url "http://jcenter.bintray.com"}

from sortabletableview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.