-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Feature Request]能提供一个适配了Android 15 16KB的版本吗 #1353
Comments
I understand that using 16K Pagesize will enhance memory efficiency (iOS uses 16K for a loooong time). I have taken a quick look at the docs you posted. Looks like that requires an upgrade on NDK & AGP, and a complete review on the core source code on Pagesize. That's a lot of work. So it won't be soon. |
https://github.com/search?q=repo%3ATencent%2FMMKV%204096&type=code maybe all is right in 16K pagesize |
Maybe. The AGP plugin update is yet another painful job. Last time I did it the publish-to-maven script was broken and had to rollback. |
@lingol 能直接使用NDK 或者cmake编译 出so库吗?这样就可以不升级AGP? |
Maybe. It's not in our top priority though. I have checked with some senior Android devs and find out that no major brands turn on 16K on Android 15. |
尊敬的开发者: 咨询了下小米工程师年内可能没计划进行16k对齐但是还是推荐先提前做好对齐工作,其他厂商还不了解。目前我们应用使用了mmkv在谷歌提供的模拟器上必崩。 java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH/DT_GNU_HASH in "/data/app/~~NHViVslYBhncFDynZV6M9A==/com.wuba-Ll6_cDr4REu_oyprb9oFFg==/lib/arm64/libmmkv.so" (new hash type from the future?) |
Looks like a bug in the system image. MMKV is built with NDK26, so no way has anything from the future. |
可以参考 |
@Nullifier1571 that's good to know, thank you. |
你好,你是编译了一个支持16KB的MMKV版本了吗?方便共享吗?另外我看官方文档还是要改写代码的,比如代码里写死了4096的地方 |
了解的片面了, 适配android最新版本特性, 几乎是每个移动端团队每年必做的事情, 对现有app产生crash的变动 更会格外重视
|
Just so all you know, 16K is supported in the dev branch and will be available in the next version v2.0. |
Nice work @lingol ! |
用着用着出现了 库的奔溃。 |
when will you release V2.0? |
It should be rolled out this month. |
v2.0.0 is out. |
https://developer.android.com/guide/practices/page-sizes?hl=zh-cn
The text was updated successfully, but these errors were encountered: