Error generating React-Native apk

0

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

    
asked by Revsky01 05.04.2018 в 08:42
source

1 answer

0

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
    
answered by 02.05.2018 / 10:11
source