-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Lines 156 to 157 in 8ce097b
| # See https://developer.android.com/guide/topics/manifest/application-element#extractNativeLibs | |
| extract_native_libs = true |
In hindsight we should have also used this property to steer whether libs are compiled in the APK:
cargo-apk/ndk-build/src/apk.rs
Lines 203 to 205 in 8ce097b
| if self.config.disable_aapt_compression { | |
| aapt.arg("-0").arg(""); | |
| } |
Per the documentation linked for this property, libraries are stored uncompressed when they are not extracted by the installer. Right now I think one can create an invalid APK when setting extract_native_libs = false and building a non-debug (release) profile, which sets disable_aapt_compression = false:
cargo-apk/cargo-apk/src/apk.rs
Line 214 in 8ce097b
| disable_aapt_compression: is_debug_profile, |
Originally posted by @MarijnS95 in #15 (comment)
Metadata
Metadata
Assignees
Labels
No labels