{"name":"memos/260", "uid":"LBwtRWgGA5gbTVi8N97eXq", "rowStatus":"ACTIVE", "creator":"users/1", "createTime":"2024-08-17T14:54:20Z", "updateTime":"2024-08-17T14:57:18Z", "displayTime":"2024-08-17T14:54:20Z", "content":"Android app `lib/` folder, used for keeping native libraries (`.so` files) in APK, and the installation folder (after extraction by the system at installation time):\nOn Android 6.0+ libs can be stored uncompressed in the APK to avoid extraction and save storage space:\n* Setting android:extractNativeLibs=false to reduce app size: https://stackoverflow.com/questions/42998083/setting-androidextractnativelibs-false-to-reduce-app-size\n  * SmallerAPK, Part 8: Native libraries, open from APK: https://medium.com/androiddevelopers/smallerapk-part-8-native-libraries-open-from-apk-fc22713861ff#.uf1ziwsou\n* Chromium Android Library Packaging: https://chromium.googlesource.com/experimental/chromium/src/+/refs/tags/72.0.3625.2/docs/android_native_libraries.md#library-packaging", "nodes":[{"type":"PARAGRAPH", "paragraphNode":{"children":[{"type":"TEXT", "textNode":{"content":"Android app "}}, {"type":"CODE", "codeNode":{"content":"lib/"}}, {"type":"TEXT", "textNode":{"content":" folder, used for keeping native libraries ("}}, {"type":"CODE", "codeNode":{"content":".so"}}, {"type":"TEXT", "textNode":{"content":" files) in APK, and the installation folder (after extraction by the system at installation time):"}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"PARAGRAPH", "paragraphNode":{"children":[{"type":"TEXT", "textNode":{"content":"On Android 6.0+ libs can be stored uncompressed in the APK to avoid extraction and save storage space:"}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"UNORDERED_LIST", "unorderedListNode":{"symbol":"*", "indent":0, "children":[{"type":"TEXT", "textNode":{"content":"Setting android:extractNativeLibs=false to reduce app size: "}}, {"type":"AUTO_LINK", "autoLinkNode":{"url":"https://stackoverflow.com/questions/42998083/setting-androidextractnativelibs-false-to-reduce-app-size", "isRawText":true}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"UNORDERED_LIST", "unorderedListNode":{"symbol":"*", "indent":2, "children":[{"type":"TEXT", "textNode":{"content":"SmallerAPK, Part 8: Native libraries, open from APK: "}}, {"type":"AUTO_LINK", "autoLinkNode":{"url":"https://medium.com/androiddevelopers/smallerapk-part-8-native-libraries-open-from-apk-fc22713861ff#.uf1ziwsou", "isRawText":true}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"UNORDERED_LIST", "unorderedListNode":{"symbol":"*", "indent":0, "children":[{"type":"TEXT", "textNode":{"content":"Chromium Android Library Packaging: "}}, {"type":"AUTO_LINK", "autoLinkNode":{"url":"https://chromium.googlesource.com/experimental/chromium/src/+/refs/tags/72.0.3625.2/docs/android_native_libraries.md#library-packaging", "isRawText":true}}]}}], "visibility":"PUBLIC", "tags":[], "pinned":false, "resources":[], "relations":[], "reactions":[], "property":{"tags":[], "hasLink":true, "hasTaskList":false, "hasCode":true, "hasIncompleteTasks":false}, "snippet":"Android app lib/ folder, used for keeping native libraries (.so files) in APK, and the installation ..."}