-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Build Tools revision (23.0.1) is too low for project #428
Comments
@zr0n downgrade some areas your build dependencies, android studio probably asked you to upgrade. build.gradle: app/build.gradle: |
If I downgrade my build dependencies as you said and do not upgrade the react-native-vector-icons dependencies the error persists. |
Can you post your app build.gradle |
`apply plugin: "com.android.application" import com.android.build.OutputFile /**
apply from: "../../node_modules/react-native/react.gradle" /**
/**
android {
} dependencies { // Run this once to be able to run the application with BUCK |
did you clean and build ? |
getting the same error. anyone got a solution for this? I did a grep and all of my sdk versions are 23.0.1 |
@aljones15 The fix for me was set the buildToolsVersion to "25.0.0" inside this build.gradle file |
I have the same problem. |
@zr0n that's interesting. I did it by upgrading react-native to the latest version then doing react-native upgrade and overwriting the templates. that reset me to sdk 23 which worked fine. |
Hi i have the same problem after i yarn add react-native-elements and having problem so i reinstall all the module . |
Okay so I'm having the same problem atm. It worked perfectly fine with lowers sdks on another pc... Any easy fix for this found yet? |
Any updates? (windows related only)? |
This is what I did to "fix" it. |
It was caused by |
@PeterRock that's what I don't get, I didn't do any of that and it just started working again for some reason. |
I Modify my code like above @zr0n , and it still appear this err. So i try to clen cache, then it works, maybe others can try this. React Native Clear Cache: watchman watch-del-all |
this issue is annoying if you try to fix it by changing https://github.com/oblador/react-native-vector-icons/blob/master/android/build.gradle, whenever I run yarn it will be reverted back to 23.0.1. It needs a better solution. |
This solution seems to work for me: |
it works! thanks @rish |
Try to downgrade your gradle version, it could work |
I guess the solution below, posted by @rish is the best one. |
Sadly, I'm with build tools version 26.0.0 ... |
@HelloEdit Check the link, just change text to use with your build tools version |
Oh I'm sorry, I confused your comment with my other issue about AIDL, I'm confused 😄, my problem is not the same |
It's working fine when I change the Gradle Version from 2.3.3 to 2.2.3. |
I just change my build tools to version 25.0.1 and my SDK version to 25. Then I upgrade my gradle version and the gradle plugin. And it's work like a charm ! |
Please update the build.gradle file to use the latest SDK & Tools version |
Hello, everyone
|
4.3.0 now uses build tools version 26 if that helps anyone. LMK if I can close this issue. |
you saved my day @HelloEdit |
In my case the project was defined to use build tools 23.0.0 and with this find with sed i upgraded this to 25.0.0: |
go to node_modules/
To
run again. |
You should open the your project with Android Studio. It shows the error. And you can change 23.0.0 to 25.0.0 or up. Rebuild it. After that close Android Studio and run react-native run-android. That is it. |
Hello, After this i just changed android {
} this to android {
} And that was working like charm ^^ As i said earlier for my case that was react-native youtube module just do it for your module and it will help. ^^ |
To anyone coming from google using the latest React Native version, this did the job for me (add to your android/build.gradle) :
|
When I try tu build my project, I am getting this error
The SDK Build Tools revision (23.0.1) is too low for project 'react-native-vector-icons'. Minimum required is 25.0.0.
And the only way I can build is to set the buildToolsVersion to "25.0.0" inside the build.gradle file
Is there another solution?
The text was updated successfully, but these errors were encountered: