-
Notifications
You must be signed in to change notification settings - Fork 76
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
Android: The SDK Build Tools revision (23.0.1) is too low for project ':react-native-social-share'. Minimum required is 25.0.0 #40
Comments
Hey @Fackius Thank you so much for this. apply plugin: 'com.android.library'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
...
into apply plugin: 'com.android.library'
android {
compileSdkVersion 23
buildToolsVersion "25.0.0"
... In this file @buskerone @minhtule @Tigrakto @angusmccloud @eggybot have you experienced this error? |
@doefler yes, that's the right change. I've fixed this error updating that line buildToolsVersion '25.0.0' in react-native-social-share/android/build.gradle. This is how my file looks now:
|
@Fackius You are welcome. |
@doefler So I think sooner or later you'll have to upgrade your settings to keep your library up to date. If the developers who use this library has problem with latest settings and versions, then they will need to upgrade their projects :) Hope that answer your question! |
@Fackius |
@doefler I referenced this issue in react-native-vector-icons because I've found the same issue there: |
Hi @doefler seems that this version issues were caused because something Android Studio did the first time I tried to build Android app. I re builded the project from scratch in a different branch, without using Android Studio, and the build was successful. If someone has the same problem, that's answer ^ Thanks for your time! |
@Fackius |
In my case, i did not experience any issues with the build tool version yet. I'll let you guys know if anything happen. |
@Tigrakto thanks for trying and getting back to us 👍 |
Hey guys, I'm facing this error.
React Native: 0.51.0 Had to update my |
Hi @Jpadilla1 P.S. |
Tried updating to 1.4.0, same error message. Edit: fixed it using this oblador/react-native-keychain#68 (comment) |
Thanks for sharing the solution @Jpadilla1 😄 |
No problem! I honestly don't know if this is the best way to fix this and include it in the "getting started" guide. I don't think it's an issue with this library itself. |
Ok @Jpadilla1 😄 |
Does anyone know why this changed? I've been using SocialShare for a while with the setting at 23.0.1, but am now updating SocialShare (trying to get it working on iOS11) and curious why the Android side changed. Just curious if it's actually only going to work on Android 7+, since that's only ~25% of phones... |
No need to change in node-module
it will force to all the submodules to use the specified compileSdkVersion(25) and buildToolsVersion(25.0.0) |
I am getting this error because of buildToolsVersion in this line:
https://github.com/doefler/react-native-social-share/blob/master/android/build.gradle#L5
Versions:
after upgrading buildToolsVersion to:
The error was fixed.
Should you guys update this in your repo?
This file is in node_modules, and everyone who npm install will get this error.
The text was updated successfully, but these errors were encountered: