首页 新闻 会员 周边

麻烦大哥大姐们帮忙看看 这个错误提示是什么原因啊 同事的mac电脑运行正常 我的windows电脑 运行一直报这些错误

0
悬赏园豆:200 [待解决问题]


符号: 类 BR
位置: 程序包 com.android.databinding.library.baseAdapters
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> android.databinding.tool.util.LoggedErrorException: failure, see logs for details.
Exception while handling step android.databinding.annotationprocessor.ProcessExpressions@629eecac javax.xml.bind.UnmarshalException
- with linked exception:
[org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 3 of 3-byte UTF-8 sequence.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:333)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:563)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:249)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:214)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:204)
at android.databinding.tool.store.ResourceBundle$LayoutFileBundle.fromXML(ResourceBundle.java:648)
at 

怕是要翻水水的主页 怕是要翻水水 | 初学一级 | 园豆:2
提问于:2017-11-25 16:04
< >
分享
所有回答(1)
0

搜索了下,仅供参考:

http://www.cnblogs.com/ssh2/p/3745848.html

http://blog.csdn.net/just_lion/article/details/16858425

https://stackoverflow.com/questions/9920758/malformedbytesequenceexception-invalid-byte-2-of-2-byte-utf-8-sequence

 

总得来说,就是 编码不正确,导致无法识别。

幻天芒 | 园豆:37175 (高人七级) | 2017-11-25 22:51

哥,你发出来的这些试了 还是不行 在mac运行正常 在windows就死活不行

支持(0) 反对(0) 怕是要翻水水 | 园豆:2 (初学一级) | 2017-11-27 09:48

@怕是要翻水水: 那就检查下你的执行目录,再多确认下你的做法和上述文章的做法是否完全一致。

支持(0) 反对(0) 幻天芒 | 园豆:37175 (高人七级) | 2017-11-27 11:41
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册