Skip to content

libtbxml.so: UNALIGNED (2**12) #2950

@trung-hoang2

Description

@trung-hoang2

I'm submitting a ... (check one with "x")

  • question
  • any problem or bug report

OS: (check one with "x")

  • Android
  • iOS
  • Browser

cordova information: (run $> cordova plugin list)

 cordova plugin list                                                           ✔  47s  
cordova-background-geolocation 4.18.1 "BackgroundGeolocation"
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-advanced-http 3.0.0 "Advanced HTTP plugin"
cordova-plugin-androidx-adapter 1.1.1 "cordova-plugin-androidx-adapter"
cordova-plugin-background-fetch 7.2.4 "CDVBackgroundFetch"
cordova-plugin-camera 8.0.0 "Camera"
cordova-plugin-chooser 1.3.1 "Chooser"
cordova-plugin-customurlscheme 5.0.1 "Custom URL scheme"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-disable-ios11-statusbar 1.0.0 "cordova-plugin-disable-ios11-statusbar"
cordova-plugin-fcm-with-dependecy-updated 7.8.0 "Cordova FCM Push Plugin"
cordova-plugin-file 8.1.3 "File"
cordova-plugin-file-opener2 3.0.5 "File Opener2"
cordova-plugin-firebase-crashlytics 1.2.0 "Cordova Firebase Crashlytics Plugin"
cordova-plugin-geolocation 4.1.0 "Geolocation"
cordova-plugin-inappbrowser 6.0.0 "InAppBrowser"
cordova-plugin-intercom 14.0.0 "Intercom"
cordova-plugin-market 1.2.0 "Market"
cordova-plugin-network-information 3.0.0 "Network Information"
cordova-plugin-safearea 1.0.1 "safearea"
cordova-plugin-screen-orientation 3.0.4 "Screen Orientation"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-telerik-imagepicker 2.3.5 "ImagePicker"
cordova-sqlite-storage 7.0.0 "Cordova SQLite storage plugin - cordova-sqlite-storage plugin version"
es6-promise-plugin 4.2.2 "Promise"
mx.ferreyra.callnumber 0.0.2 "Cordova Call Number Plugin"
uk.co.workingedge.phonegap.plugin.launchnavigator 5.0.7 "Launch Navigator"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

@ionic-native/core : 
@ionic-native/google-maps : 

Current behavior:
I'm following this page to enable support for 16kb size
https://developer.android.com/guide/practices/page-sizes#alignment-use-script

This is the output of the elf check tool. The current version (4.18.1) is already support for the 16kb size, but not with the ELF.

=== APK zip-alignment ===
19693568 lib/arm64-v8a/libandroidx.graphics.path.so (OK)
15876096 lib/arm64-v8a/libsqlc-ndk-native-driver.so (OK)
12681216 lib/arm64-v8a/libtslocationmanager.so (OK)
 6012928 lib/x86_64/libandroidx.graphics.path.so (OK)
25198592 lib/x86_64/libsqlc-ndk-native-driver.so (OK)
17989632 lib/x86_64/libtslocationmanager.so (OK)
Verification succesful
=========================

=== ELF alignment ===
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/armeabi-v7a/libsqlc-ndk-native-driver.so: \e[32mALIGNED\e[0m (2**14)
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/armeabi-v7a/libtslocationmanager.so: \e[31mUNALIGNED\e[0m (2**12)
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/armeabi-v7a/libandroidx.graphics.path.so: \e[32mALIGNED\e[0m (2**14)
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/x86/libsqlc-ndk-native-driver.so: \e[32mALIGNED\e[0m (2**14)
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/x86/libtslocationmanager.so: \e[31mUNALIGNED\e[0m (2**12)
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/x86/libandroidx.graphics.path.so: \e[32mALIGNED\e[0m (2**14)
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/arm64-v8a/libsqlc-ndk-native-driver.so: \e[32mALIGNED\e[0m (2**14)
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/arm64-v8a/libtslocationmanager.so: \e[32mALIGNED\e[0m (2**14)
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/arm64-v8a/libandroidx.graphics.path.so: \e[32mALIGNED\e[0m (2**14)
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/x86_64/libsqlc-ndk-native-driver.so: \e[32mALIGNED\e[0m (2**14)
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/x86_64/libtslocationmanager.so: \e[32mALIGNED\e[0m (2**14)
/var/folders/fh/7gwzczg92r122t1jz02yt4t00000gp/T/app-debug_out_XXXXX.mL87I48Upz/lib/x86_64/libandroidx.graphics.path.so: \e[32mALIGNED\e[0m (2**14)
\e[31mFound 2 unaligned libs (only arm64-v8a/x86_64 libs need to be aligned).\e[0m
Is there any workaround for this?

Expected behavior:

Is there any workaround?
Screen capture or video record:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions