How can I solve this problem, when I am building it, it is showing me the same problem- java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Ex
Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
Solve it in the following way in the Gradle:
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'+
this line
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false