lzhiyong / android-sdk-tools

building android-sdk tools for Android
Apache License 2.0
378 stars 65 forks source link

aapt2 35.0.2 shared library issue #40

Open uweseimet opened 1 month ago

uweseimet commented 1 month ago

The fact that aapt2 35.0.2 is not linked statically but dynamically causes an issue, at least on some platforms:

uname -a Linux ora1 6.5.0-1027-oracle #27~22.04.1-Ubuntu SMP Sat Jul 20 13:14:31 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux ldd aapt2 ./aapt2: error while loading shared libraries: /lib/aarch64-linux-gnu/libc.so: invalid ELF header

With the statically linked aapt2 from previous releases everything was fine.

I would like to suggest to also link the 35.0.2 tools statically, in order to ensure portability.

lzhiyong commented 1 month ago

the next version will provide a statically linked version

uweseimet commented 1 week ago

@lzhiyong Any plans when you are going to release the next version? I am asking because I would like to build apps for the Android 15 API, and as far as I can tell this requires a current version of aapt2.

lzhiyong commented 1 week ago

Please wait for upstream updates. the current version released by Google is 35.0.2

next update is 35.0.3

uweseimet commented 1 week ago

Well, the problem is that I canmot use your binaries of the current version. Is there any chance that you rebuild them and link them statically? Or will 35.0.3 be released soon?