Issue
I compiled a code of hello world in C
through gcc
for ARM. I uploaded the resulting binary to my device and I tried to run it through adb shell
. First I got an error about permissions and fixed that. Now it gives me the file not found
error but I can see the file in the ls
output.
Solution
Your executable is missing a library. The most likely reason is that you just built a Linux ARM executable (not an Android one) which is linked against some libc
version other than Android Bionic.
You could either learn how to build proper Android executables or a statically linked binary might just work for your purpose.
Answered By - Alex P.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.