CLI: ship uncompressed native libs (extractNativeLibs=false)
The Android template asked the installer to extract and copy every .so out of the APK at install time. Since Android 6.0 the loader can map them straight from an uncompressed, page-aligned APK, which is smaller on disk, faster to install, and — the reason it matters here — the only form in which a 16 KB-page-aligned library stays aligned. Play requires 16 KB page support for apps targeting API 35+, so the extracted path is now a correctness problem, not only a size one.
This commit is contained in:
1 parent
657e6f2125
commit
275fc84a4a
1 file changed
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
{{{ raw_manifest }}}
|
{{{ raw_manifest }}}
|
||||||
|
|
||||||
<application android:hasCode="true" android:icon="@mipmap/ic_launcher"
|
<application android:hasCode="true" android:icon="@mipmap/ic_launcher"
|
||||||
android:extractNativeLibs="true"
|
android:extractNativeLibs="false"
|
||||||
android:allowNativeHeapPointerTagging="false"
|
android:allowNativeHeapPointerTagging="false"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:supportsRtl="{{#if supports_rtl}}{{ supports_rtl }}{{else}}true{{/if}}"
|
android:supportsRtl="{{#if supports_rtl}}{{ supports_rtl }}{{else}}true{{/if}}"
|
||||||
|
|||||||
Reference in new issue
Block a user