Open daniel00k opened 7 years ago
same issue
In android/build.gradle, adding an extra maven url like so fixed it for me:
allprojects { repositories { mavenLocal() jcenter() maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url "$rootDir/../node_modules/react-native/android" } maven { url "https://jitpack.io" } } }
it started happening for me today again ?
Could not resolve all files for configuration ':react-native-spinkit:releaseCompileClasspath'.
> Could not find Android-SpinKit.jar (com.github.ybq:Android-SpinKit:1.1.0).
Searched in the following locations:
https://jitpack.io/com/github/ybq/Android-SpinKit/1.1.0/Android-SpinKit-1.1.0.jar```
@alimek According to the 1.1.0 build log the last build failed.
To solve the compile issue, I changed react-native-spinkit
's build.gradle so that the Android-Spinkit dependency was 1.2.0 like this: compile 'com.github.ybq:Android-SpinKit:1.2.0@aar'
I updated react-native-spinkit
to the latest one as in the README https://github.com/maxs15/react-native-spinkit#getting-started and it successfully downloaded Android-SpinKit-1.2.0.aar
Updating react-native-spinkit to 1.2.0 (from 1.1.0) worked for me.
Upgrading to the latest react-native-spinkit has not solved this for me. I am working with React Native 0.53.3 and React 16.2
Could not find com.github.ybq:Android-SpinKit:1.1.0. Searched in the following locations: https://jcenter.bintray.com/com/github/ybq/Android-SpinKit/1.1.0/Android-SpinKit-1.1.0.pom https://jcenter.bintray.com/com/github/ybq/Android-SpinKit/1.1.0/Android-SpinKit-1.1.0.jar file:/Users/....../pagalo_asi/node_modules/react-native/android/com/github/ybq/Android-SpinKit/1.1.0/Android-SpinKit-1.1.0.pom file:/Users/......./pagalo_asi/node_modules/react-native/android/com/github/ybq/Android-SpinKit/1.1.0/Android-SpinKit-1.1.0.jar file:/Users/.../Library/Android/sdk/extras/android/m2repository/com/github/ybq/Android-SpinKit/1.1.0/Android-SpinKit-1.1.0.pom file:/Users/.../Library/Android/sdk/extras/android/m2repository/com/github/ybq/Android-SpinKit/1.1.0/Android-SpinKit-1.1.0.jar file:/Users/.../Library/Android/sdk/extras/google/m2repository/com/github/ybq/Android-SpinKit/1.1.0/Android-SpinKit-1.1.0.pom file:/Users/.../Library/Android/sdk/extras/google/m2repository/com/github/ybq/Android-SpinKit/1.1.0/Android-SpinKit-1.1.0.jar Required by: Project:app:unspecified > Project:react-native-spinkit:unspecified