How to compile C into an executable binary file and run it in Android from Android Shell?

后端 未结 5 1983
闹比i
闹比i 2020-11-28 03:25

I have a Device on which I installed Android Gingerbread 2.3.4 Here i want to run C executable file on android device

I am able to run android NDK application on thi

5条回答
  •  情话喂你
    2020-11-28 03:56

    I recently had the same problem on a new nexus-5. I'd like to add that /data/local was not writable by the user ("shell", uid 2000) I got with adb shell. But putting the executable in the subdirectory /data/local/tmp/ worked fine.

提交回复
热议问题