Skip to content
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

关于zipalign 对齐参数的问题 #3

Open
devchenli opened this issue Sep 27, 2021 · 0 comments
Open

关于zipalign 对齐参数的问题 #3

devchenli opened this issue Sep 27, 2021 · 0 comments

Comments

@devchenli
Copy link

devchenli commented Sep 27, 2021

您好,这个项目真不错,批量签名很方便!感谢您的付出,想问一下,zipalign 4k对齐的时候需要加 -p 参数吗?我在Android官方文档里看到这样描述:如果您的 APK 包含共享库(.so 文件),则应使用 -p 来确保它们与适合 mmap(2) 的 4KiB 页面边界对齐。
本人还是不太理解文档描述的,看到您shell 命令里只用了 -f 4 ,并没有包含-p,所以咨询一下您,这个参数对于一般apk是否必要呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant