-
Notifications
You must be signed in to change notification settings - Fork 244
Open
Description
Hi. We're getting the following when compiling one of our Android projects that uses Tangram 0.17.1.
Does "Android" Tangram need to be updated?
If not fixed, apps eventually won't be allowed on the Play store.
thx
The native library arm64-v8a/libc++_shared.so (from com.mapzen.tangram:tangram:0.17.1) is not 16 KB aligned
Inspection info: Android has traditionally used 4 KB memory page sizes. However, to support future devices that only work with 16 KB aligned libraries apps containing native libraries need to be built with 16 KB alignment.
Apps with 4 KB aligned native libraries may not work correctly on devices requiring 16 KB alignment. To ensure compatibility and future-proof your app, it is strongly recommended that your native libraries are aligned to 16 KB boundaries.
If your app uses any NDK libraries, directly or indirectly through an SDK, you should rebuild your app to meet this recommendation. Make sure all native libraries within your application, including those from dependencies, are built with 16 KB page alignment.
This lint check looks at all native libraries that your app depends on. If any are found to be aligned to 4 KB instead of 16 KB, you will need to address this.
When a library is flagged, first try to update to a newer version that supports 16 KB alignment. If an updated version is not available, contact the library vendor to ask about their plans for 16 KB support and request a compatible version. Updating your libraries proactively will help ensure your app works properly on a wider range of devices.
Issue id: Aligned16KB
More info:
https://developer.android.com/guide/practices/page-sizes
Vendor: Android Open Source Project
Contact: https://groups.google.com/g/lint-dev
Feedback: https://issuetracker.google.com/issues/new?component=192708
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels