@@ -28,16 +28,33 @@ logcat stream. You can see this by enabling developer mode on your
2828Android device, enabling adb on the device, connecting it to your PC
2929(you should see a notification that USB debugging is connected) and
3030running ``adb logcat ``. If adb is not in your PATH, you can find it at
31- ``/path/to/Android/SDK/platform-tools/adb ``.
31+ ``/path/to/Android/SDK/platform-tools/adb ``, or access it through
32+ python-for-android with the shortcut::
3233
33- Running this command gives a lot of information about what Android is
34+ python-for-android logcat
35+
36+ or::
37+
38+ python-for-android adb logcat
39+
40+ Running logcat command gives a lot of information about what Android is
3441doing. You can usually see important lines by using logcat's built in
3542functionality to see only lines with the ``python `` tag (or just
3643grepping this).
3744
3845When your app crashes, you'll see the normal Python traceback here, as
3946well as the output of any print statements etc. that your app
4047runs. Use these to diagnose the problem just as normal.
48+
49+ The adb command passes its arguments straight to adb itself, so you
50+ can also do other debugging tasks such as ``python-for-android adb
51+ devices `` to get the list of connected devices.
52+
53+ For further information, see the Android docs on `adb
54+ <http://developer.android.com/intl/zh-cn/tools/help/adb.html> `_, and
55+ on `logcat
56+ <http://developer.android.com/intl/zh-cn/tools/help/logcat.html> `_ in
57+ particular.
4158
4259Common errors
4360-------------
0 commit comments