Questions what I tried:
Gradle Build Failed For Task app:processReleaseResources
Failed to execute aapt
What I did:
I followed the React Native Generating Signed APK
But at the part of $ cd android && ./gradlew assembleRelease
and I get the following error:
* What went wrong:
Execution failed for task ':app:processReleaseResources'.
> Failed to execute aapt
This is not solved with this question: "Gradle Build Failed For Task app:processReleaseResources" for me.
This are the build tools versions is tried: (in the file: build.gradle
)
buildToolsVersion "23.0.1" // Android SDK Build-Tools
buildToolsVersion "25.0.2" // Android SDK Build-Tools
buildToolsVersion "26.0.2" // Android SDK Build-Tools
buildToolsVersion "26.1.1" // Android Tools
buildToolsVersion "27.0.1" // Android SDK Platform-Tools
buildToolsVersion "27.0.3" // Android SDK Build-Tools
I have all the build tools versions installed from the Appearance & Behavior > System Settings > Android SDK
page tab SDK Tools
The buildToolsVersion "26.1.1" // Android Tools
Is the only one thats not giving me this error:
* What went wrong:
Execution failed for task ':app:processReleaseResources'.
> Failed to execute aapt
But the error is:
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to find Build Tools revision 26.1.1
Therefore I found: Failed to find Build Tools revision 23.0.1
But that answer did not work.
$ android list sdk -a
Did not work and returned bash: android: command not found
PS I am a newbie at react-native