Closed xinle closed 1 month ago
What is the problem? Please provide logs.
你好这里说的鸿蒙是纯血鸿蒙
I
There's nothing wrong with the logs. Which one goes wrong, the _mDefault_ting_data2backup, or the specialCharacter/d40df772a289f7a0eafc907d1a177ea6 ? You should upload the files you extracted from Android for further investigation. One more thing, you have tried to create one mmkv with special characters, you should provide the name of it as well.
Oh, I may have found out what went wrong. Did you try to load it with an absolute path?
You should not do that. You should init mmkv with rootPath to /data/storage/el2/base/haps/MainApp/files/mmkv
, and load it with the same ID mDefault_ting_data2_backup
.
Never pass the absolute path as a mmkv ID.
Android平台下生成的mmkv文件,在鸿蒙系统下是否可以读取出来,因为后面Android可以升级到鸿蒙需要做数据迁移, 目前试了下是不行的,这个是否未来有计划支持?