By default, the Android Debug Bridge (adb) is
included on a QNX platform with the Runtime for APK.
adb enables loading, execution, breakpoints, and
single-stepping through application code. If you want to use
adb, but it is not already started,
you need to edit the build configuration file and then restart your target.
To start adb:
-
Check whether the file
apk_app_path/native/system/build.cfg contains the
following line:
persist.service.adb.enable=1
Note that
apk_app_path is the path to the APK runtime application, for example:
/apps/sys.apkruntime.gYABgKAOw1czN6neiAT72SGO.ns/
-
Edit the build.cfg file to enable the debugger.
-
Restart the target.