androidlinuxshelladbexecutable

Running executable from Android shell


I copied my executable file to Android '/data/local/tmp' directory using

adb push /home/build/bin/myexec /data/local/tmp

I then changed the permission of the executable

chmod 755 myexec

When I tried ./myexec

I got this /system/bin/sh: myexec: not found

I understand that it is not working because it is not on the system's bin folder. Is it possible to run executable through the Android's shell or through an Android app?


Solution

  • If running the executable with a full path to it doesn't work, the problem might be with the executable itself, meaning it either

    In this case the options you have are as follows: