In react-native, I am trying to generate signed APK following their instructions. But when I execute this ./gradlew assembleRelease
command it shows me this error. Error details.
My platform:
Can anybody tell me, why I am getting this error?
I got a solution here by adding android.enableAapt2=false
into android/gradle.properties
. Apparently, I read that it's only a temporary solution. No way to solve it with others solutions?
Add org.gradle.configureondemand=true
to android/gradle.properties