-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
SDK Build Tools revision (23.0.1) is too low for project :react-native-keychain. #68
Comments
@SudoPlz Check your
|
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
That forces all the submodules to use the specified |
saved the day ! Thanks. |
Thank you very much @SudoPlz |
@SudoPlz after I have added the lines to force the submodules to use the specified compileSdkVersion , the build problem is gone. But the application is showing message "unfortunately app has stopped". how would I solve it, has anyone faced this issue? |
Hmm, no, I didn't have any problems. |
@SudoPlz thanks for your quick reply. So what can i do to ? |
Well I'd check each of those projects dependencies to see the minimum sdk they support. i.e react-native-blur requires version 16 or higher so that's not the problem. Just a suggestion. |
@SudoPlz you are a godsend |
No probs @tomauty I hope that helped :) |
We've been clicking "Update build tools and rebuild" for like 15 libs on android studio for months now...haha. So, yes. |
Will the future code look like this? The file path is android/build.gradle
|
If you have Android Studio, just import your project into the IDE, and then a warning about this error will be showed. Just click on the link "Update SDK". And it is solved without forcing any library to use a downgraded version of the SDK. |
@flaviocolonna That works if you're building locally, but not if your build is on a CI. |
@SudoPlz Simply Awesome. You are a life saver for all |
No problem man, I'm glad this works for you. |
@SudoPlz Thank you for sharing this solution for us |
That's a good question @gungungun93. It would be cool if someone wrote a script that checks the module name with a simple if clause, and allows people to manually define the version of each and every dependency individually. I might do that myself, but I have zero time at the moment. |
after i upgrade version to 25.0.2 , DEX error is coming , |
Ok I found a solution to this. For so many peoples facing the same problem in the future, here's what I did: I added the following to my root build gradle android/build.gradle subprojects { its working good |
Hey there,
that might be a noobish question but I get the following error:
app/build.gradle
Any ideas what might have went wrong?
Thank you!
The text was updated successfully, but these errors were encountered: