Exception : AAPT2 error: check logs for details

前端 未结 23 1780
走了就别回头了
走了就别回头了 2020-11-27 14:00
Task :processDebugResources Failed to execute aapt com.android.ide.common.process.ProcessException: Failed to execute aapt
    at com.android.builder.core.AndroidBui         


        
23条回答
  •  抹茶落季
    2020-11-27 14:57

    possible issue related to this can be with your XML files. I have faced this when I deleted my unnecery xml files.

    For remedy from this error in gradle.properties of the module, add this below line:

    android.enableAapt2=false
    

    after adding this line, restart the gradle.

    and do once clean, rebuild your project.

提交回复
热议问题