user9797896
user9797896

Reputation:

AAPT2 error: in Android Studio 3.1.3

AAPT2 error: check logs for details in Android Studio 3.1.3

Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details

Upvotes: 4

Views: 3133

Answers (2)

Zeeshan Ali Basbasah
Zeeshan Ali Basbasah

Reputation: 11

I solved this issue by follow this process

Click on Gradle in Right side Gradle -> Project Name -> App -> Tasks -> build -> assembleDebug

By clicking on assebleDebug will show you the line where is the problem. In my case, I have an issue in my XML file

Upvotes: 1

Abdullah alkış
Abdullah alkış

Reputation: 333

For now, solution is adding gradle.properties this code

android.enableAapt2=false

Upvotes: 0

Related Questions