run-as Package ‘a.b.c’ is unknown – Galaxy S4 Jellybean or Android 4.3

Found success by adding this to the activity: private void startGdbServer() { try { new ProcessBuilder() .command(getFilesDir().getParent() + “/lib/gdbserver”, “tcp:5039”, “–attach” ,”” + android.os.Process.myPid()) .redirectErrorStream(true) .start(); } catch (IOException e) { Log.e(TAG, “IOException failed to start gdbserver”); } } Then I wrapped startGdbServer in an Android service and updating the ndk-gdb script to start the … Read more