-
Notifications
You must be signed in to change notification settings - Fork 175
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
在模拟器上的运行问题 #91
Comments
此外,阅读器会在FileDataLoadTask抛出java.io.UnsupportedEncodingException: UTF-8,UTF-16BE,GB18030,UTF-16LE异常,但我不知道如何解决 |
明显是文件编码格式问题,这个文件的编码格式正确么,换一个txt文件试一试 |
都是txt文件。我用的是夜神模拟器。 |
用原生的模拟器或者手机试一试 |
抱歉,作者还在吗。因为我需要链接本地数据库所以不太可能去用手机测试,我又尝试了uu模拟器结果还是报错。 |
看看是不是文件读写权限的问题 |
已经动态申请了读写权限,还是报一样的错误。 |
用原生模拟器试一试。国产模拟器可能魔改了不少,还不行用就用真机测试 |
用as自带的模拟器测试还是一样的错误,播放字符串也一直正常。我不理解.jpg |
第一次调用成功了,后面就一直InitError,看了日志,是权限原因,但给了权限也是一样。无法了 |
我引用了作者的控件做txt阅读,可是发现打开txt文档时会报InitError,读不出来文件。直接把作者的apk下载到app中直接读取还是报InitError,不清楚到底是哪里除了问题。
The text was updated successfully, but these errors were encountered: