forked from crosswalk-project/crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 0
Android debugging
sqliu edited this page Aug 15, 2013
·
16 revisions
. xwalk/build/android/envsetup.sh --target-arch=x86
xwalk_android_gyp -Dandroid_full_debug=1
ninja -C out/Debug xwalk_core_shell_apk
adb install -r out/Debug/apks/XWalkCoreShell.apk
- On Device, launch the App
- On Host machine, to debug the browser process, use:
adb_gdb_xwalk_core_shell --verbose
- To debug the renderer process, use:
adb_gdb_xwalk_core_shell --verbose --sandboxed=[0-6]
- Import the project into Eclipse workspace:
New -> Android -> Android Project from Existing Code -> point to XwalkCore project root($src/runtime/android/shell)