ybq / Android-SpinKit

Android loading animations

Home Page:https://ybq.github.io/Android-SpinKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency implementation error!

geeky-auro opened this issue · comments

When inserting in gradle dependencies it shows the following error..!
image

Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

download the code via zip. extract the file.

  1. In android studio go to File>import module>select library as destination.
  2. remove the line "apply plugin: 'com.novoda.bintray-release" from build.gradle file in library folder.
  3. add "implementation project(':library')" in app build.gradle files

For folks using a recent Gradle version, add the jitpack repo in your settings.gradle file and the Spin Kit library should resolve and download.

repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven { url 'https://jitpack.io' }
}

For folks using a recent Gradle version, add the jitpack repo in your settings.gradle file and the Spin Kit library should resolve and download.

repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { maven { url 'https://jitpack.io' } }

Thanks, it works for me...