openim-sdk-core icon indicating copy to clipboard operation
openim-sdk-core copied to clipboard

[BUG] error:init database initDB failed / data/user/0/com.crius.apps/files: open db failed /data/user/0/com.crius.apps/ files/OpenIM_v3_0202410142424.db: file is not a database: 10006 Internal SDK error

Open hanj2270 opened this issue 9 months ago • 2 comments

OpenIM SDK Version

3.8.2

OpenIM Server Version

3.8.3

SDK Platform

Android SDK

Device Model

Oppo r10

Operating System Version

Android 15

Bug Description and Steps to Reproduce

偶现,不可自动恢复,已确认对应db文件路径有读写权限

Screenshots Link

No response

hanj2270 avatar May 22 '25 06:05 hanj2270

+1

FrankCheungDev avatar Jun 08 '25 07:06 FrankCheungDev

same with #924 Thisi works for me!

FrankCheungDev avatar Jun 09 '25 11:06 FrankCheungDev

The app does not have read and write permissions for all directories, so it is recommended to use the current directory in the demo, so that both the database and IM data are stored in the current directory.

FGadvancer avatar Jun 30 '25 03:06 FGadvancer