question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SDK Build Tools revision (23.0.1) is too low for project :react-native-keychain.

See original GitHub issue

Hey there,

that might be a noobish question but I get the following error:

* 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-keychain'.

          > The SDK Build Tools revision (23.0.1) is too low for project ':react-native-keychain'. Minimum required is 25.0.0

app/build.gradle

android {
compileSdkVersion 25
    buildToolsVersion "25.0.0"
    defaultConfig {
        applicationId 'com.blablaapp.app.android'
        minSdkVersion 16
        targetSdkVersion 22
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
        renderscriptTargetApi 20
        renderscriptSupportModeEnabled true
    }
...


dependencies {
        compile fileTree(include: ['*.jar'], dir: 'libs')
        compile 'com.android.support:appcompat-v7:25.0.0'
        compile 'com.facebook.react:react-native:+'
        // From node_modules
        compile project(':react-native-background-timer')
        compile project(':react-native-i18n')
        compile project(':react-native-keychain')
        compile project(':react-native-navigation')
        compile project(':react-native-vector-icons')
        compile project(':react-native-orientation')
        compile project(':react-native-linear-gradient')
        compile project(':bugsnag-react-native')
        compile project(':react-native-blur')
        compile project(':react-native-picker')
        compile project(':react-native-svg')
        compile project(':react-native-wheel-picker')
        compile project(':react-native-code-push')
        compile project(':instabug-reactnative')
        compile project(':react-native-maps')
        compile project(':react-native-firebase')
    }

Any ideas what might have went wrong?

Thank you!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:20

github_iconTop GitHub Comments

777reactions
SudoPlzcommented, May 30, 2017

Ok I found a solution to this.

For people facing the same problem in the future, here’s what I did:

I added the following to my root build gradle android/build.gradle (Not the android/app/build.gradle)

subprojects {
    afterEvaluate {project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion 25
                buildToolsVersion '25.0.0'
            }
        }
    }
}

That forces all the submodules to use the specified compileSdkVersion and buildToolsVersion. Problem gone now.

92reactions
gigeoscommented, May 30, 2017

@SudoPlz Check your android/build.gradle I moved files from a project to an older and I haved to downgrade my build gradle version from 2.3.2 to 2.2.3

dependencies {
    // classpath 'com.android.tools.build:gradle:2.3.2' //before
    classpath 'com.android.tools.build:gradle:2.2.3' //to solve problem
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

The SDK Build Tools revision (23.0.1) is too low for project
I have been stuck in a problem.. Its been probably 3 hours.. In android studio message says. Error: The SDK Build Tools revision...
Read more >
How to permanently fix “SDK Build Tools is too low for project ...
One of the most annoying things that can happen while developing a React Native app is the dreaded A problem occurred configuring project...
Read more >
SDK Build Tools release notes - Android Developers
This update includes support for building with Android 11 Preview APIs. Build Tools, Revision 29.0.3 (January 2020).
Read more >
React Native の Android のビルドで SDK Build Tools の ...
Ref. SDK Build Tools revision (23.0.1) is too low for project :react-native-keychain. · Issue #68 · oblador/react-native-keychain ...
Read more >
Failed To Find Build Tools Revision 23.0.1 - ADocLib
I am not building apps so i don't clearly but I have use the Android studio and processing 3.0 few times so I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found