React-native-sound: BuildToolsVersion compatibility with RN 0.56

Created on 10 Jul 2018  路  6Comments  路  Source: zmxv/react-native-sound

The error:

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

Would it be possible to update them following this approach?

Most helpful comment

Looks like this has been resolved. The project now supports RN 0.60.

All 6 comments

  • 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-sound'.
    > The SDK Build Tools revision (23.0.1) is too low for project ':react-native-sound'. Minimum required is 25.0.0

I'am having the same issue after updating to react native 0.56.0 anyone knows what to do ?

same issue in react native 0.56.+. are you have update plan yet?

currently I manually change the react-native-sound/android/build.gradle file's sdk version.

UPDATE: we can force the root project's sdk version to react-native-sound

subprojects {
    afterEvaluate {project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion 26
                buildToolsVersion "26.0.3"
            }
        }
    }
}
> Configure project :react-native-sound

Configuration 'compile' in project ':react-native-sound' is deprecated. Use 'implementation' instead.
WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (26.0.2) for Android Gradle Plugin 3.0.1.
Android SDK Build Tools 26.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

react-native-sound package needs to be updated to use with RN 0.56

Looks like this has been resolved. The project now supports RN 0.60.

Was this page helpful?
0 / 5 - 0 ratings