ADB Debuging

Android Emulation notes.

Enable Root Shell

In BlueStacks: 
    Settings > Advanced > Android Debug Bridge > Enable
Using adb:
    adb connect 127.0.0.1:<Port from BlueStacks>
    adb shell
In Shell:
    system/xbin/bstk/su root

Debug any process

adb connect 127.0.0.1:<port>
adb root
adb shell
adb su root 
pm dump com.company.programName  //for the string below
am start -D -n "com.company.programName/us.company.progNam.player.AndroidPlugin"

GDB Debugging

  1. Download NDK SDK: https://developer.android.com/ndk/downloads

On the host computer:

On the remote host:

Host:

Last updated

Was this helpful?