We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在6.0上报错。5.1和4.4上面正常。 输出日志
03-05 08:12:55.621 8980-8980/? E/SQLiteLog: (14) cannot open file at line 31278 of [2ef4f3a5b1] 03-05 08:12:55.621 8980-8980/? E/SQLiteLog: (14) os_unix.c:31278: (2) open(/storage/emulated/0/xxxx/database/xxxx.db) - 03-05 08:12:55.622 8980-8980/? E/SQLiteDatabase: Failed to open database '/storage/emulated/0/xxxx/database/xxxx.db'. android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
The text was updated successfully, but these errors were encountered:
应该是没处理动态权限的问题。library 的 target 貌似是21,所以应该在自己应用所在的 Module 把这个处理一下
Sorry, something went wrong.
感谢楼上@twiceyuan 帮解答 ,无法打开数据库文件,先检查下权限相关
感谢两位回复,已经解决。 原先在application 里面初始化,没有动态判授权,所以炸裂了。 动态授权回调之后初始化数据库就正常了。
No branches or pull requests
在6.0上报错。5.1和4.4上面正常。
输出日志
The text was updated successfully, but these errors were encountered: