android-tools
android-tools copied to clipboard
Possible to add dexdump?
First of all, thanks a lot for publishing this binaries.
If possible, can you add dexdump to Android 11 build-tools. I am trying to use this on on aarch64 linux. I have already tried using dexdump in Android 9 build folder, but that's giving the following error. I think it is built for Android phones?
-bash: ./dexdump: /system/bin/linker64: bad ELF interpreter: No such file or directory
I tried building myself, but getting the following error when running mmm /frameworks/base/tools. Don't know how to resolve it.
[ 19% 733/3701] //frameworks/base/tools/dump-coverage:libdumpcoverage lipo libdumpcoverage.dylib [darwin]
FAILED: out/soong/.intermediates/frameworks/base/tools/dump-
coverage/libdumpcoverage/darwin_x86_64_shared/libdumpcoverage.dylib
echo "module libdumpcoverage missing dependencies: libopenjdkjvmti_headers" && false
module libdumpcoverage missing dependencies: libopenjdkjvmti_headers
03:14:24 ninja failed with: exit status 1
#### failed to build some targets (08:38 (mm:ss)) ####
Hi @sriteja777, I am not sure this will work due to the different tool chain Android uses. Android uses bionic (C runtime) which won't work on Linux as far as I know. If you want dexdump for aarch64 Linux, you might want to try the one packaged in Debian distribution.
https://debian.pkgs.org/11/debian-main-arm64/dexdump_10.0.0+r36-3_arm64.deb.html
This should work on a Linux machine assuming all the dependency packages are installed.