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

前端 未结 6 1997
梦如初夏
梦如初夏 2020-12-05 18:10

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

6条回答
  •  时光取名叫无心
    2020-12-05 18:55

    I had the same issue. Apparently this line had to be at the top of the main XML file and was 2 or 3 lines below.

    
    

    Cut and pasted to top of XML file and build succeeded.

提交回复
热议问题