Valid XML file gives “failed to parse” error in Android ADT

前端 未结 8 1596
执笔经年
执笔经年 2020-12-19 18:08

I have made a XML file:



           


        
8条回答
  •  猫巷女王i
    2020-12-19 18:30

    1. Failed to parse XML file for android
    2. check that your drawables exist at the appropriate paths
    3. check for inivisible characters

    4. I`ve also ran into the same problem. What I found is that each of the StateListDrawable states (pressed, selected, focused, etc.) actually expects a valid drawable (png, jpg, gif, etc.). So, that means, something like this will cause the parse error problem:

提交回复
热议问题