Support for 16KB page sizes
Since 7zip-JBinding-4Android uses a native library there is a requirement from Google to add support for devices which are using 16KB page size
More details: https://developer.android.com/guide/practices/page-sizes
More and more manufacturers will move to 16KB page size in future, Please prepare to support this at the earliest.
Thanks for calling this out. Based on the instructions in Support 16 KB page sizes, it looks like this should be possible to accomplish by modifying build.gradle as follows:
externalNativeBuild {
cmake {
path "CMakeLists.txt"
arguments "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
}
}
Would you be able to try this locally and create a pull request with these changes if it works correctly?
i got warning:
The native library arm64-v8a/lib7-Zip-JBinding.so (from com.github.omicronapps:7-Zip-JBinding-4Android:Release-16.02-2.02) is not 16 KB aligned
please update this library
我这边因为需要及时适配 16kb 的需求,于是拉源码来主动编译了个支持 16kb 的成品 aar,需要的可以自取,方便可 star https://github.com/woshiluoyong/7-Zip-JBinding-4Android
Thanks for calling this out. Based on the instructions in Support 16 KB page sizes, it looks like this should be possible to accomplish by modifying build.gradle as follows:
externalNativeBuild { cmake { path "CMakeLists.txt" arguments "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON" } }Would you be able to try this locally and create a pull request with these changes if it works correctly?
Does this mean you're on passive maintenance on this library?
Thanks for calling this out. Based on the instructions in Support 16 KB page sizes, it looks like this should be possible to accomplish by modifying build.gradle as follows:
externalNativeBuild { cmake { path "CMakeLists.txt" arguments "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON" } }Would you be able to try this locally and create a pull request with these changes if it works correctly?
Just created the PR. Would you mind checking if it works on your side and publish the result?
Hello, any new regarding publishing this?
I'm very sorry for the slow response.
Fixed and published here: https://github.com/omicronapps/7-Zip-JBinding-4Android/releases/tag/Release-16.02-2.03
Perfect, thanks a lot man ❤️