Closed novakin closed 4 years ago
I finally found out how to make it work
Download Android NDK from https://developer.android.com/tools/sdk/ndk/index.html
Extract the NDK
tar xf android-ndk-r20-*.tar.bz2 && cd android-ndk-r20
Make GNU Android Toolchain from NDK (edit the platform according to your android version)
build/tools/make-standalone-toolchain.sh --toolchain=aarch64-linux-androideabi-4.9 --platform=android-28 --install-dir=../toolchain
Crosscompile
cd ../toolchain/bin
aarch64-linux-android-gcc --static ../../android-touch-record-replay/mysendevent.c -o ../../android-touch-record-replay/mysendevent
Unfortunately, I do not really understand why this happened. Do you think it has to do with the device? Which android version are you using?
No idea, but compiling using NDK tools worked, so its the most important.
Hello, do you could submit a PR with the file compiled for 64 bit?
I wanted to include both in the repo to make sure everyone could use it directly.
Hi,
Sure no problem.
Edit : Done #20
Hi,
Unfortunately the mysendevent wont work on my device (oneplus 6). I'm totally new to compiling.
Here is what i achieved so far and im getting an error
Can anyone please provide some good ressources related to compiling ? Or if you compiled it yourself could you please share it
Thanks in advance