Good evening I just finished my apk in react-native, but to the general the final buid to distribute it generates the following error:
this command use to generate the apk:
cd android && ./gradlew assembleRelease
It has a simple solution, open your Android folder with Android Studio.
Locate the gradle.properties file and add the following line:
android.enableAapt2=false
Do clean and rerun the command:
cd android && ./gradlew assembleRelease