Running Drozer
  1. Install Drozer agent:
    adb -H IP_FROM_HOST_RUNNING_ADB_SERVER -P 5037 install drozer-agent.apk
  2. Run Drozer agent app in the emulator.
  3. Run embedded server in the Android app.
  4. Forward requests from local port 31415 to the same port on the emulator:
    adb forward tcp:31415 tcp:31415
  5. Connect Drozer console to the agent:
    drozer console connect --server IP_FROM_HOST_RUNNING_ADB_SERVER