Skip to content

Commit

Permalink
Merge pull request #87 from talljosh/patch-1
Browse files Browse the repository at this point in the history
Update android.rst: include how to view logs.
  • Loading branch information
freakboy3742 committed Feb 6, 2021
2 parents dc305bb + 113eec4 commit 2429ef0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/tutorial/tutorial-5/android.rst
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,14 @@ In the future, if you want to run on this device without using the menu, you can
provide the phones's serial number to Briefcase, using ``briefcase run android
-d 94ZZY0LNE8``. Thi will run on the device directly, wthout prompting.

.. note::

When you’re developing for Android, it's useful to be able to view the
Android logs. To view the Android logs without the background noise from
the rest of the system, you can run ``adb logcat -s MainActivity:* stdio:*
Python:*``. Anything your app writes to stdout (e.g., the output of
``print()`` statements) will be visible in the logs.

Next steps
==========

Expand Down

0 comments on commit 2429ef0

Please sign in to comment.