Skip to content

Commit b9bb10e

Browse files
committed
Update the Android Studio debug instructions
1 parent 6c0bd95 commit b9bb10e

File tree

5 files changed

+4
-2
lines changed

5 files changed

+4
-2
lines changed

contributing/development/configuring_an_ide/android_studio.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,15 @@ Building & debugging the editor module
5656
- Select **Run > Run 'editor'** from the top menu or `click the Run icon <https://developer.android.com/studio/run/rundebugconfig#running>`_.
5757
- To debug the ``editor`` module:
5858
- Open the **Build Variants** window using **View > Tools Windows > Build Variants** from the top menu.
59-
- In the **Build Variants** window, make sure that in the **Active Build Variant** column, the ``:editor`` entry is set to **dev**.
59+
- In the **Build Variants** window, make sure that in the **Active Build Variant** column, the ``:editor`` entry is set to one of the **Dev** variants.
6060

6161
.. figure:: img/android_studio_editor_build_variant.webp
6262
:figclass: figure-w480
6363
:align: center
6464

6565
- Open the **Run/Debug Configurations** window by clicking on **Run > Edit Configurations...** on the top menu.
6666
- In the **Run/Debug Configurations** window, select the ``editor`` entry, and under **Debugger** make sure the **Debug Type** is set to ``Dual (Java + Native)``
67+
- Click the ``+`` sign under the **Symbol Directories** section, and add the ``lib`` module directory: ``platform/android/java/lib``
6768

6869
.. figure:: img/android_studio_editor_debug_type_setup.webp
6970
:figclass: figure-w480
@@ -89,14 +90,15 @@ Once that's done, you can follow the instructions below to run/debug the ``app``
8990
- Select **Run > Run 'app'** from the top menu or `click the Run icon <https://developer.android.com/studio/run/rundebugconfig#running>`_.
9091
- To debug the ``app`` module:
9192
- Open the **Build Variants** window using **View > Tools Windows > Build Variants** from the top menu.
92-
- In the **Build Variants** window, make sure that in the **Active Build Variant** column, the ``:app`` entry is set to **dev**.
93+
- In the **Build Variants** window, make sure that in the **Active Build Variant** column, the ``:app`` entry is set to one of the **Dev** variants.
9394

9495
.. figure:: img/android_studio_app_build_variant.webp
9596
:figclass: figure-w480
9697
:align: center
9798

9899
- Open the **Run/Debug Configurations** window by clicking on **Run > Edit Configurations...** on the top menu.
99100
- In the **Run/Debug Configurations** window, select the ``app`` entry, and under **Debugger** make sure the **Debug Type** is set to ``Dual (Java + Native)``
101+
- Click the ``+`` sign under the **Symbol Directories** section, and add the ``lib`` module directory: ``platform/android/java/lib``
100102

101103
.. figure:: img/android_studio_app_debug_type_setup.webp
102104
:figclass: figure-w480

0 commit comments

Comments
 (0)