Skip to content

Instantly share code, notes, and snippets.

@snj

snj/gist:7079362

Created Oct 21, 2013
Embed
What would you like to do?
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