React Native App: proccesReleaseResources failed

0

Good evening I have a problem with a project in React-native,

They will see for some reason when running the project in Genymotion It works perfectly, But when I execute cd android && gradlew assmbleRelease , it throws me the following error:

The packages that I have used so far. npm react-native-vector-icons npm -i react-native-router-flux

Annex the link with the archives, because if the publication would not be very extensive LINK

    
asked by Revsky01 10.04.2018 в 04:56
source

1 answer

1

Good morning after surfing all night I found the solution.

This error is presented in the Android Studio 3.x in the section of sdk Tool 26.0.2

When applying this configuration (In my case), it throws the error that is described in the publication

To solve it, add the following line android.enableAapt2=false

in the gradle.properties (app) file

In such a way that the file will be in the following way

TOPARTIST_RELEASE_STORE_FILE=topartist.keystore
TOPARTIST_RELEASE_KEY_ALIAS=my-alias     
TOPARTIST_RELEASE_STORE_PASSWORD=123456789
TOPARTIST_RELEASE_KEY_PASSWORD=123456789

android.useDeprecatedNdk=true
android.enableAapt2=false 
    
answered by 10.04.2018 / 18:36
source