When project is built with build:gradle:3.0.1, I've got this error.
AAPT2 error: check logs for details
I've tried solution
android.enableAapt2=false
in gradle.properties file mentioned in this thread:
Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
It works, but Java compiler gives warning,
WARNING: The option 'android.enableAapt2' is deprecated and should not be used anymore
.
Can we resolve AAPT2 error without using android.enableAapt2=false ?