Git Product home page Git Product logo

Comments (13)

matbos avatar matbos commented on July 16, 2024

I am not sure if it's your typo here or in your build.gradle file but your dependency should be:

compile 'com.db.williamchart:library:1.7.0'

not

compile 'com.db.williamchart:1. 7.0'

You need to download the sources of this library, then open the cmd and type

gradlew install

Then in you projects build.gradle add mavenLocal()

allprojects {
    repositories {
        jcenter()
        mavenLocal()
    }
}

Now you should be fine.

from williamchart.

ZheKOs avatar ZheKOs commented on July 16, 2024

Matbos, I change
compile 'com.db.williamchart:1. 7.0'
to compile 'com.db.williamchart:library:1.7.0'
and add mavenLocal()
, but it still doesn't work.
scr_28_02_2015_16_05_37

from williamchart.

matbos avatar matbos commented on July 16, 2024

Did you download source of this library and issued

gradlew install

?

from williamchart.

ZheKOs avatar ZheKOs commented on July 16, 2024

Yes, I downloaded source, but how should I use command gradlew install , because in windows CMD it says that it can't find such command.
_28_02_2015_16_12_18

from williamchart.

matbos avatar matbos commented on July 16, 2024

You have to navigate to a downloaded source where the gradlew file exists and issue the command there.

from williamchart.

ZheKOs avatar ZheKOs commented on July 16, 2024

I run gradlew.bat and get this: default

from williamchart.

ZheKOs avatar ZheKOs commented on July 16, 2024

Oh, I just add ANDROID_HOME and sdk.dir
And now there is no this problem, but terminal closes immediately and I can't type command install

from williamchart.

matbos avatar matbos commented on July 16, 2024

as well it should. Just open command line in the folder containing gradlew.bat and within that command line type gradlew install

from williamchart.

ZheKOs avatar ZheKOs commented on July 16, 2024

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':app'.

    Could not resolve all dependencies for configuration ':app:_debugCompile'.
    Could not find com.db.williamchart:library:1.7.0.
    Searched in the following locations:
    https://jcenter.bintray.com/com/db/williamchart/library/1.7.0/library-1.7.0.pom
    https://jcenter.bintray.com/com/db/williamchart/library/1.7.0/library-1.7.0.jar
    file:/C:/Users/Eugene/.m2/repository/com/db/williamchart/library/1.7.0/library-1.7.0.pom
    file:/C:/Users/Eugene/.m2/repository/com/db/williamchart/library/1.7.0/library-1.7.0.jar
    file:/C:/Users/Eugene/AppData/Local/Android/Sdk/extras/android/m2repository/com/db/williamchart/library/1.7.0/library-1.7.0.pom
    file:/C:/Users/Eugene/AppData/Local/Android/Sdk/extras/android/m2repository/com/db/williamchart/library/1.7.0/library-1.7.0.jar
    file:/C:/Users/Eugene/AppData/Local/Android/Sdk/extras/google/m2repository/com/db/williamchart/library/1.7.0/library-1.7.0.pom
    file:/C:/Users/Eugene/AppData/Local/Android/Sdk/extras/google/m2repository/com/db/williamchart/library/1.7.0/library-1.7.0.jar
    Required by:
    TestWillianChart:app:unspecified

from williamchart.

ZheKOs avatar ZheKOs commented on July 16, 2024

I typed command in my project dir not in lib dir..
now it is OK. Trying to sync right now

from williamchart.

matbos avatar matbos commented on July 16, 2024

Good to hear that!

from williamchart.

ZheKOs avatar ZheKOs commented on July 16, 2024

YEap. THANK YOU matbos :)
Everything is well right now (looks like :))

from williamchart.

ZheKOs avatar ZheKOs commented on July 16, 2024

And project finished without any problems! THANK YOU again!))

from williamchart.

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.