Status Update
Comments
di...@google.com <di...@google.com>
en...@google.com <en...@google.com> #2
there was a change for this (now abandoned): https://android-review.googlesource.com/#/c/151362/
could someone working on gradle follow up on this?
could someone working on gradle follow up on this?
xa...@google.com <xa...@google.com>
ga...@google.com <ga...@google.com>
be...@google.com <be...@google.com> #3
This should be working in 2.2 beta, Gradle will detect the extractNativeLibs manifest attribute and package+align the *.so files as necessary.
ph...@gmail.com <ph...@gmail.com> #4
Comment has been deleted.
Description
1. libraries in apk need to be stored (uncompressed) and page-aligned. Zipaling in SKD has -p option that takes care of the page-aligned part.
2. AndroidManifest.xml android:extractNativeLibs attribute in manifest/application needs to be set to "false"
The ideal way to support this is if android:extractNativeLibs is set to "false", studio (gradle?) automatically stores libraries uncompressed and calls zipalign with -p option in order to page-align them.
The other way is to add gradle property for android { ... }.
See also: