Home » Android » How to build Android binaries of linux command line programs (Linux file tool in this case)-Exceptionshub

How to build Android binaries of linux command line programs (Linux file tool in this case)-Exceptionshub

Posted by: admin February 26, 2020 Leave a comment

Questions:

I am trying to compile the source code of Linux file program into an Android binary (single executable file) using ndk and Android Studio. (source code for Linux file program is available at ftp://ftp.astron.com/pub/file/file-5.38.tar.gz)

The source code does not contain any cmake files and I have difficulty compiling it. Can anyone suggest how this can be done?

Thank you

How to&Answers: