Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@snj
Created October 21, 2013 06:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snj/7079362 to your computer and use it in GitHub Desktop.
Save snj/7079362 to your computer and use it in GitHub Desktop.
debugging android app
stop in jp.example.myapp.ExampleActivity.onCreate
adb wait-for-device shell am start -D -a android.intent.action.MAIN -n jp.example.myapp/.ExampleActivity
adb forward tcp:8888 jdwp:`adb jdwp|tail -1`
jdb -attach localhost:8888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment