Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated library issue (The SDK Build Tools revision (23.0.1) is too low for project ':react-native-spinkit'. Minimum required is 25.0.0) #96

Closed
Nitingadhiya opened this issue Aug 3, 2018 · 5 comments

Comments

@Nitingadhiya
Copy link

We have create project with latest react-native version. then installed spin-kit library
after I will run "react-native run-android" . but we have facing below error :

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_debugApk'.
A problem occurred configuring project ':react-native-spinkit'.
> The SDK Build Tools revision (23.0.1) is too low for project ':react-native-spinkit'. Minimum required is 25.0.0

Project react-native version:
"react": "16.4.1",
"react-native": "0.56.0",
"react-native-spinkit": "^1.1.1",

@Nitingadhiya Nitingadhiya changed the title Deprecated library issue Deprecated library issue (The SDK Build Tools revision (23.0.1) is too low for project ':react-native-spinkit'. Minimum required is 25.0.0) Aug 3, 2018
@JakeRawr
Copy link

JakeRawr commented Oct 4, 2018

+1

1 similar comment
@happyEgg
Copy link

+1

@happyEgg
Copy link

@maxs15

@vinayan3
Copy link

As a workaround till this is merged you can add a postinstall step to your package.json file which will apply PR #103.which is currently awaiting merging.

{
  "name": "TestApp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "postinstall": "./scripts/react-native-spinkit-android-build-patch.sh",
  }
}

The file react-native-spinkit-android-build-patch.sh is below:

#!/usr/bin/env bash

set -e

pushd node_modules/react-native-spinkit

SEMAPHORE=android_build_patched
if test ! -f ${SEMAPHORE}; then
  touch ${SEMAPHORE}
  PATCH_FILE=android_build.patch
  curl https://patch-diff.githubusercontent.com/raw/maxs15/react-native-spinkit/pull/103.patch > ${PATCH_FILE}
  patch -p1 <${PATCH_FILE}
  rm ${PATCH_FILE}
fi

popd

@maxs15
Copy link
Owner

maxs15 commented Sep 27, 2019

Fixed in 1.5.0 :)

@maxs15 maxs15 closed this as completed Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants