草庐IT

c++ - 在Android上执行纯二进制文件

有没有办法在Android上运行二进制可执行文件(使用NDK编译)?/*#includes#defines...*/intmain(){//Dosomethingwhenthisisexecutedreturn0;}我希望它独立于VM运行。就像不在事件中一样,只是一个直接在proc上运行的二进制文件 最佳答案 adbpushexename/data/bin/exename#nextlinemightbeneededifyouaredevelopingonWindowsadbshellchmod777/data/bin/exename