OLD | NEW |
1 # Chromoting Android Hacking | 1 # Chromoting Android Hacking |
2 | 2 |
3 This guide, which is meant to accompany the | 3 This guide, which is meant to accompany the |
4 [compilation guide](chromoting_build_instructions.md), explains the process of | 4 [compilation guide](chromoting_build_instructions.md), explains the process of |
5 viewing the logs and debugging the CRD Android client. I'll assume you've | 5 viewing the logs and debugging the CRD Android client. I'll assume you've |
6 already built the APK as described in the aforementioned guide, that you're in | 6 already built the APK as described in the aforementioned guide, that you're in |
7 the `src/` directory, and that your binary is at | 7 the `src/` directory, and that your binary is at |
8 `out/Release/apks/Chromoting.apk`. Additionally, you should have installed the | 8 `out/Release/apks/Chromoting.apk`. Additionally, you should have installed the |
9 app on at least one (still) connected device. | 9 app on at least one (still) connected device. |
10 | 10 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 <classpathentry kind="src" path="chrome/common/extensions/docs/examples/extensio
ns/irc/servlet/src"/> | 65 <classpathentry kind="src" path="chrome/common/extensions/docs/examples/extensio
ns/irc/servlet/src"/> |
66 <classpathentry kind="src" path="chrome/android/java/src"/> | 66 <classpathentry kind="src" path="chrome/android/java/src"/> |
67 <classpathentry kind="src" path="chrome/android/uiautomator_tests/src"/> | 67 <classpathentry kind="src" path="chrome/android/uiautomator_tests/src"/> |
68 <classpathentry kind="src" path="chrome/android/javatests/src"/> | 68 <classpathentry kind="src" path="chrome/android/javatests/src"/> |
69 <classpathentry kind="src" path="sync/test/android/javatests/src"/> | 69 <classpathentry kind="src" path="sync/test/android/javatests/src"/> |
70 <classpathentry kind="src" path="sync/android/java/src"/> | 70 <classpathentry kind="src" path="sync/android/java/src"/> |
71 <classpathentry kind="src" path="sync/android/javatests/src"/> | 71 <classpathentry kind="src" path="sync/android/javatests/src"/> |
72 <classpathentry kind="src" path="mojo/public/java/src"/> | 72 <classpathentry kind="src" path="mojo/public/java/src"/> |
73 <classpathentry kind="src" path="mojo/android/system/src"/> | 73 <classpathentry kind="src" path="mojo/android/system/src"/> |
74 <classpathentry kind="src" path="mojo/android/javatests/src"/> | 74 <classpathentry kind="src" path="mojo/android/javatests/src"/> |
75 <classpathentry kind="src" path="mojo/shell/android/apk/src"/> | 75 <classpathentry kind="src" path="services/shell/android/apk/src"/> |
76 <classpathentry kind="src" path="mojo/services/native_viewport/android/src"/> | 76 <classpathentry kind="src" path="mojo/services/native_viewport/android/src"/> |
77 <classpathentry kind="src" path="testing/android/java/src"/> | 77 <classpathentry kind="src" path="testing/android/java/src"/> |
78 <classpathentry kind="src" path="printing/android/java/src"/> | 78 <classpathentry kind="src" path="printing/android/java/src"/> |
79 <classpathentry kind="src" path="tools/binary_size/java/src"/> | 79 <classpathentry kind="src" path="tools/binary_size/java/src"/> |
80 <classpathentry kind="src" path="tools/android/memconsumer/java/src"/> | 80 <classpathentry kind="src" path="tools/android/memconsumer/java/src"/> |
81 <classpathentry kind="src" path="tools/android/findbugs_plugin/test/java/src"/> | 81 <classpathentry kind="src" path="tools/android/findbugs_plugin/test/java/src"/> |
82 <classpathentry kind="src" path="tools/android/findbugs_plugin/src"/> | 82 <classpathentry kind="src" path="tools/android/findbugs_plugin/src"/> |
83 <classpathentry kind="src" path="remoting/android/java/src"/> | 83 <classpathentry kind="src" path="remoting/android/java/src"/> |
84 <classpathentry kind="src" path="remoting/android/apk/src"/> | 84 <classpathentry kind="src" path="remoting/android/apk/src"/> |
85 <classpathentry kind="src" path="remoting/android/javatests/src"/> | 85 <classpathentry kind="src" path="remoting/android/javatests/src"/> |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 to easily launch GDB. Run | 150 to easily launch GDB. Run |
151 | 151 |
152 ```shell | 152 ```shell |
153 $ build/android/adb_gdb --package-name=org.chromium.chromoting \ | 153 $ build/android/adb_gdb --package-name=org.chromium.chromoting \ |
154 --activity=.Chromoting --start | 154 --activity=.Chromoting --start |
155 ``` | 155 ``` |
156 | 156 |
157 Note that if you have multiple devices connected, you must export | 157 Note that if you have multiple devices connected, you must export |
158 `ANDROID_SERIAL` to select one; set it to the serial number of the desired | 158 `ANDROID_SERIAL` to select one; set it to the serial number of the desired |
159 device as output by `$ adb devices`. | 159 device as output by `$ adb devices`. |
OLD | NEW |