I run a console app (built with NDK) on an Android phone with the following command from my Windows machine:
adb push MyApp /data/local/tmp
adb shell "cd /data/local/tmp && chmod a+x MyApp"
adb shell "cd /data/local/tmp && ./MyApp"
basically it works on most the phones, but on a specific phone the first two commands succeed, but the third command fails with exit code 15 (adb
exits with code 15).
What does code 15 mean? (The app itself does not have exit code 15).
I do not have an access to that specific phone, and need an idea on what can cause this.
Where are the docs on adb
exit codes?
For example, if the app simply fails to start adb
exits with code 1.
adb install
, but notadb push
adb shell
) and then executing the rest of the commands, or alternatively using an on-device terminal app?int main() { return 0;}
. Android NDK r20b, Android 10.