Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to add dexdump? #34

Open
sriteja777 opened this issue Jul 7, 2022 · 1 comment
Open

Possible to add dexdump? #34

sriteja777 opened this issue Jul 7, 2022 · 1 comment

Comments

@sriteja777
Copy link

sriteja777 commented Jul 7, 2022

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)) ####
@JonForShort
Copy link
Owner

JonForShort commented Aug 3, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants