Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 3 of 3-byte UTF-8 sequence. #3

Closed
LaelLuo opened this issue Apr 8, 2019 · 8 comments

Comments

@LaelLuo
Copy link

LaelLuo commented Apr 8, 2019

错误: 找不到符号
符号: 类 BR
位置: 程序包 com.azhon.mvvm
image

@azhon
Copy link
Owner

azhon commented Apr 8, 2019

应该是dataBinding编译的问题,清缓存重启AS或者使用AS3.5或更高版本;
或者把布局文件的字符串全部输入过一遍好像也可以。

@LaelLuo
Copy link
Author

LaelLuo commented Apr 8, 2019

我现在用的就是
Android Studio 3.5 Canary 10
Build #AI-191.6183.62.35.5416148, built on March 29, 2019
JRE: 1.8.0_202-release-1483-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

@azhon
Copy link
Owner

azhon commented Apr 8, 2019

那应该就是DataBinding字符串编译问题了,这个可以解决

@azhon azhon closed this as completed Apr 8, 2019
@songsongtao
Copy link

建议把DataBinding给去除掉或者来一个没有DataBinding的版本

@azhon
Copy link
Owner

azhon commented Jul 10, 2019

建议把DataBinding给去除掉或者来一个没有DataBinding的版本

为啥?

@songsongtao
Copy link

DataBinding代码阅读性差,不易维护调试,没事还build错误自动生成类错误

@azhon
Copy link
Owner

azhon commented Jul 10, 2019

DataBinding代码阅读性差,不易维护调试,没事还build错误自动生成类错误
可以,有时间我拉个分支

@azhon
Copy link
Owner

azhon commented Jul 11, 2019

DataBinding代码阅读性差,不易维护调试,没事还build错误自动生成类错误

已经抽了一版没有dataBinding的代码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants