maxs15 / maxs15/react-native-spinkit

Cannot build the app with react native 0.29

Open
#24 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
2.4k
Forks
307
PR merge metrics
No merged PRs in 30d

Description

I just upgraded to react native 0.29 and when try to compile, getting this error:

A problem occurred configuring project ':app'.
> A problem occurred configuring project ':react-native-spinkit'.
   > Could not resolve all dependencies for configuration ':react-native-spinkit:_debugCompile'.
      > Could not find com.android.support:support-v4:23.2.1.
        Searched in the following locations:
            https://jitpack.io/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            https://jitpack.io/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
            file:/Users/shidhin/.m2/repository/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            file:/Users/shidhin/.m2/repository/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
            https://jcenter.bintray.com/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            https://jcenter.bintray.com/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
            file:/Users/shidhin/Dropbox/code_playground/swag/node_modules/react-native/android/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            file:/Users/shidhin/Dropbox/code_playground/swag/node_modules/react-native/android/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
            https://repo1.maven.org/maven2/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            https://repo1.maven.org/maven2/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
            file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
        Required by:
            namshi.app:react-native-spinkit:unspecified > com.facebook.react:react-native:0.29.0 > com.android.support:recyclerview-v7:23.0.1
            namshi.app:react-native-spinkit:unspecified > com.facebook.react:react-native:0.29.0 > com.android.support:appcompat-v7:23.0.1
      > Could not find com.android.support:support-v4:23.2.1.
        Searched in the following locations:
            https://jitpack.io/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            https://jitpack.io/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
            file:/Users/shidhin/.m2/repository/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            file:/Users/shidhin/.m2/repository/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
            https://jcenter.bintray.com/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            https://jcenter.bintray.com/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
            file:/Users/shidhin/Dropbox/code_playground/swag/node_modules/react-native/android/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            file:/Users/shidhin/Dropbox/code_playground/swag/node_modules/react-native/android/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
            https://repo1.maven.org/maven2/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            https://repo1.maven.org/maven2/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
            file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.2.1/support-v4-23.2.1.pom
            file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.2.1/support-v4-23.2.1.jar
        Required by:
            namshi.app:react-native-spinkit:unspecified > com.facebook.react:react-native:0.29.0 > com.facebook.fresco:imagepipeline-okhttp3:0.11.0 > com.facebook.fresco:imagepipeline:0.11.0
            namshi.app:react-native-spinkit:unspecified > com.facebook.react:react-native:0.29.0 > com.facebook.fresco:fresco:0.11.0 > com.facebook.fresco:drawee:0.11.0
            namshi.app:react-native-spinkit:unspecified > com.facebook.react:react-native:0.29.0 > com.facebook.fresco:imagepipeline-okhttp3:0.11.0 > com.facebook.fresco:imagepipeline:0.11.0 > com.facebook.fresco:imagepipeline-base:0.11.0

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Any leads ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the React Native 0.29 Android build failure and inspect the Gradle dependency configuration for react-native-spinkit. Trace why com.android.support:support-v4:23.2.1 cannot be resolved through the listed repositories and dependency chain. Done means the app builds successfully with React Native 0.29.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.