Comments (13)
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.
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.
from williamchart.
Did you download source of this library and issued
gradlew install
?
from williamchart.
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.
from williamchart.
You have to navigate to a downloaded source where the gradlew file exists and issue the command there.
from williamchart.
I run gradlew.bat and get this:
from williamchart.
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.
as well it should. Just open command line in the folder containing gradlew.bat and within that command line type gradlew install
from williamchart.
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.
I typed command in my project dir not in lib dir..
now it is OK. Trying to sync right now
from williamchart.
Good to hear that!
from williamchart.
YEap. THANK YOU matbos :)
Everything is well right now (looks like :))
from williamchart.
And project finished without any problems! THANK YOU again!))
from williamchart.
Related Issues (20)
- Set chart_smoothLine to true leads chart to draw weird negative hooks
- Set decimals of Y-Axis values HOT 1
- Setting custom point drawable only for specific points HOT 2
- Provide a way to let tooltips draw values HOT 1
- Stack bar charts HOT 1
- It is posible to add a stroke with a specific color on touch/click event? HOT 1
- Animation not working using proGuard HOT 1
- Move repository Jcenter to mavenCentral() HOT 2
- Crashlytics Error: BarChartView.kt line 78 com.db.williamchart.view.BarChartView.drawBars
- How to set up Y axis right? HOT 1
- Grid not fitting the points (squeezed)
- Is it possible to add a small button to show value on line touched?
- crash on tooltip onDataPointTouch HOT 1
- BarChart crashing when changing data on runtime HOT 1
- Function to clear the chart
- No documentation found!!! HOT 2
- Don't have Zoom in feature
- Failed to resolve: williamchart:williamchart:unspecified HOT 3
- Colors provided do not match the number of datapoints HOT 1
- Center Aligned Graph Draw
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from williamchart.