Compile tshark/wireshark for Android

It is a painful process and I would like to record the whole process.. I will provide a script in the end to assist, but the script should be used "AS IS."

To get wireshark working on Android, we will need many many libraries to start with. Most importantly, we need:

  • libpcap
  • glib
  • libiconv
  • libffi
  • gettext

To get these (and compiled correctly), we also need to get libgcrypt, libgpg-error, gmp, nettle, libtasn1, p11-kit, gnutls, xz, and libxml2. First we need to download all these. Navigate to a directory and use the following script to do so.

Click here to GitHub for the code.

References

[1] https://github.com/hasanbulat/tshark

[2] http://zwyuan.github.io/2016/07/18/cross-compile-wireshark-for-android/

Leave a Reply

Your email address will not be published. Required fields are marked *