Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details

后端 未结 30 1485
野的像风
野的像风 2020-11-22 12:51

This is the output of my Gradle console, I am unable to build my project

D:\\Android Projects\\....\\app\\src\\main\\res\\layout\\topic_view_header.xml
Error         


        
30条回答
  •  无人及你
    2020-11-22 13:35

    I have also had such a problem, the original is my computer's system tray this path :

    C: \ Users \ 'appear special characters' \ .android appeared in Chinese,

    and now I changed the path to :

    C: \ Users \ hjc \ .android.

    The reason is the problem of special characters.It is for this reason that leads to gravel appt2Exception problems

提交回复
热议问题