AAChartCore-Kotlin icon indicating copy to clipboard operation
AAChartCore-Kotlin copied to clipboard

Library not found error

Open jeckles opened this issue 4 years ago β€’ 3 comments

including the following statement in my build-gradle script gives a 'Could not find com.github.AAChartModel:AAChartCore-Kotlin:-SNAPSHOT. Required by: project :app' error. Any idea how to fix this error ?

dependencies {
implementation 'com.github.AAChartModel:AAChartCore-Kotlin:-SNAPSHOT' }

jeckles avatar Dec 07 '20 18:12 jeckles

Did you add maven { url 'https://www.jitpack.io' } to your project build.gradle file under allprojects { }?

See: https://github.com/AAChartModel/AAChartCore-Kotlin#step-1-add-the-jitpack-repository-to-your-build-file

sebastinto avatar Dec 19 '20 22:12 sebastinto

including the following statement in my build-gradle script gives a 'Could not find com.github.AAChartModel:AAChartCore-Kotlin:-SNAPSHOT. Required by: project :app' error. Any idea how to fix this error ?

dependencies { implementation 'com.github.AAChartModel:AAChartCore-Kotlin:-SNAPSHOT' }

The document was not clear, the dependency version should be a git tag instead of -SNAPSHOT, for example 7.1.0

See https://www.jitpack.io/#AAChartModel/AAChartCore-Kotlin for available versions

edwardzjl avatar Jul 06 '22 06:07 edwardzjl

Update this library to the latest version as follows... implementation 'com.github.AAChartModel:AAChartCore-Kotlin:7.2.0'

dew-achlesh avatar Dec 29 '22 10:12 dew-achlesh