Skip to content

[Android] Build SDK Tools revision (23.0.1) is too low. #153

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

Open
agrosner opened this issue Aug 29, 2017 · 3 comments
Open

[Android] Build SDK Tools revision (23.0.1) is too low. #153

agrosner opened this issue Aug 29, 2017 · 3 comments

Comments

@agrosner
Copy link

I am building my project with near-latest build tools. Adding this project to my app causes the following error::
screen shot 2017-08-29 at 2 44 26 pm

It appears you need to update the build tools of the project in order for people who are updating tooling to continue using this lib.

@agrosner
Copy link
Author

work around for now is to add the sources to my project as source directories:

apply from: "../../node_modules/react-native-config/android/dotenv.gradle"

android {
 sourceSets {
        main.java.srcDirs += '../../node_modules/react-native-config/android/src/main/java'
    }
}

@povloid
Copy link

povloid commented Nov 1, 2017

This change do it for me

diff --git a/android/build.gradle b/android/build.gradle
index 347a512..a5a8ffd 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -5,7 +5,7 @@ buildscript {
         jcenter()
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:2.2.3'
+        classpath 'com.android.tools.build:gradle:2.3.3' <-- do some error
         classpath 'de.undercouch:gradle-download-task:3.1.2'
         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files

android studio did automaticaly gradle update

revert to old version 2.2.3 solve it!

@mlazowik
Copy link

Current PR for this: #248.

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

3 participants