react-native-blur
react-native-blur copied to clipboard
Android build failed
:react-native-blur:processReleaseResources FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':react-native-blur:processReleaseResources'.
com.android.ide.common.process.ProcessException: Failed to execute aapt
as instructed for Android we need to configure as below android { // make sure to use 23.0.3 instead of 23.0.1 buildToolsVersion '23.0.3'
// ...
defaultConfig {
// Add these lines below the existing config
renderscriptTargetApi 23
renderscriptSupportModeEnabled true
}
}
but version 23 was reported as too low version, currently version is "26.0.3"
"react-native": "0.56.0", "react-native-blur": "^3.2.2"
I have the same problem :/
same here
@flyinghawker Try to use com.android.tools.build:gradle:3.2.0-alpha13 in build.gradle
Hi guy, did anyone got it working with RN: 0.57?
@jctfox i use RN 0.57 had the same problem and solved by this
define the sdkTools version to use in build.gradle
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
}
}
}
}
ext {
googlePlayServicesVersion = "15.0.1"
compileSdkVersion = 27
buildToolsVersion = "27.0.3"
}
This should solve the problem (just add to your android/build.gradle):
buildscript {...}
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
}
}
}
}
...