天天看点

Error parsing XML: prefix must not be bound to one of the reserved namespace names

gradlew在android6.0 (M)正式使用

gradlew 出现问题error 

 Error parsing XML: prefix must not be bound to one of the reserved namespace names

我们通常会在resource file (.xml)开头加上类似

<resources xmlns:android="http://schemas.android.com/apk/res/android" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">      
这个没有问题,在加入字符串时,      
注意如果是不用再加入xmlns:xliff或者xmlns:****(更不能加没有定义的namespace前缀)      
比如      
直接删除xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"就可以了