Open Zain-987 opened 9 months ago
I have this too. I'm guessing that it's because the published version (6) is out of sync with master which is set to compile using 31, as opposed to 29.
I'm guessing the easiest solution is to build locally? Not ideal, but it's what I'm looking to do in order to work around this.
(EDITED)
I was running into the same problem, but this SO answer fixed it for me: https://stackoverflow.com/a/76662951/1255553 🙂
My android/build.grade
now looks like this:
buildscript {
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 21
compileSdkVersion = 34
targetSdkVersion = 34
ndkVersion = "25.1.8937393"
kotlinVersion = "1.8.0"
}
// Start: needed to fix build issue with react-native-share-menu (see https://github.com/Expensify/react-native-share-menu/issues/277)
subprojects { subproject ->
afterEvaluate{
if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
}
}
}
}
// End
Execution failed for task ':tasks'.
While my Configurations are : ext { buildToolsVersion = "33.0.0" minSdkVersion = 21 compileSdkVersion = 33 targetSdkVersion = 33