Android App to run Linux commands and executables on Android. Supports Android 10 or higher as well
- import app to Android Studio(optional)
- rename executable to
lib<executable>.so
. E.ga.out
can be renamed toliba.out.so
- copy all .so files to app/src/main/jniLibs/ ABI directory. ABI can be any supported ABI. E.g.
arm64-v8a
- Update MainActivity.onCreate() with proper command and arguments. Users need to use
./filename
- In RunCommand function, set proper environment variables. (optional)
- Update
wrap.sh
in jniLibs/ABI directory with desired arguments for launching app. (optional) - Please check dumpfile output and logcat for errors