I have a problem on android with the error
"AAPT2 error: check logs for details"
I have already seen tutorials and many recommend that you put android.enableAapt2=false
in the file gradle.properties
, but I get another error
"The option 'android.enableAapt2' is deprecated and should not be used anymore Use 'android.enableAapt2 = true' to remove this warning.
It will be removed at the end of 2018 .. ".
Then I get another error that is
"Process' command 'C: \ Users \ GONZALO \ AppData \ Local \ Android \ Sdk \ build-tools \ 27.0.3 \ aapt.exe' ' finished with non-zero exit value 1 ".