From 6ff6e2bea17d96798dfdf354e1ba0c909141f3db Mon Sep 17 00:00:00 2001 From: stephaniebeatrice0 Date: Thu, 11 Apr 2024 15:27:55 +0300 Subject: [PATCH 1/3] Contribution: Alternative method of adding adb in PATH in Windows --- src/app-designer-prereqs.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/app-designer-prereqs.rst b/src/app-designer-prereqs.rst index 687e7ba3..857cee59 100644 --- a/src/app-designer-prereqs.rst +++ b/src/app-designer-prereqs.rst @@ -243,6 +243,16 @@ For Windows #. Click on :guilabel:`OK` and exit all of the windows. #. Verify that you have made the change by closing all :program:`PowerShell` or :program:`cmd` windows and open a new one (so it picks up the change), and type +.. Outreachy 2024 Starter Contribution Guide +.. Alternative way of adding adb in your Windows PATH +Alternatively, if you have installed Android Studio on your local computer, it is pre-installed with the platform tools, therefore you are required to add it to your path. You can do using the following steps: + #. Click on the Search bar on the task bar and type :guilabel:`Edit environmental variables for your account`. + #. Click on Environment Variables option. + #. Select the Path variable in the User Variables section, then select Edit. + #. In the Edit environment variables window, select New and add this path to the new field: :file:`%USERPROFILE%\AppData\Local\Android\sdk\platform-tools`. + #. Click on :guilabel:`OK` and exit all of the windows. + #. Close all of the command line windows (if any are open). + .. code-block:: console $ adb version From ac942a5dddd3dee8f0abbbfec8240b363f40e58b Mon Sep 17 00:00:00 2001 From: stephaniebeatrice0 Date: Sat, 20 Apr 2024 19:02:11 +0300 Subject: [PATCH 2/3] Fix: Typos and sentence length rectification in the contribution section --- src/app-designer-prereqs.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app-designer-prereqs.rst b/src/app-designer-prereqs.rst index 857cee59..7a704703 100644 --- a/src/app-designer-prereqs.rst +++ b/src/app-designer-prereqs.rst @@ -243,10 +243,9 @@ For Windows #. Click on :guilabel:`OK` and exit all of the windows. #. Verify that you have made the change by closing all :program:`PowerShell` or :program:`cmd` windows and open a new one (so it picks up the change), and type -.. Outreachy 2024 Starter Contribution Guide .. Alternative way of adding adb in your Windows PATH -Alternatively, if you have installed Android Studio on your local computer, it is pre-installed with the platform tools, therefore you are required to add it to your path. You can do using the following steps: - #. Click on the Search bar on the task bar and type :guilabel:`Edit environmental variables for your account`. +Alternatively, if you have installed Android Studio on your local computer, you can add adb to your path using the following steps: + #. Click on the Search bar next to the Start Menu and type :guilabel:`Edit environmental variables for your account`. #. Click on Environment Variables option. #. Select the Path variable in the User Variables section, then select Edit. #. In the Edit environment variables window, select New and add this path to the new field: :file:`%USERPROFILE%\AppData\Local\Android\sdk\platform-tools`. From 8bc6446f4b23c1f304bc6fc49ec4f8312c844d90 Mon Sep 17 00:00:00 2001 From: stephaniebeatrice0 Date: Wed, 24 Apr 2024 12:21:23 +0300 Subject: [PATCH 3/3] Fix: Added images to the adb instructions contribution --- src/app-designer-prereqs.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/app-designer-prereqs.rst b/src/app-designer-prereqs.rst index 7a704703..b5f6a2e1 100644 --- a/src/app-designer-prereqs.rst +++ b/src/app-designer-prereqs.rst @@ -248,7 +248,17 @@ Alternatively, if you have installed Android Studio on your local computer, you #. Click on the Search bar next to the Start Menu and type :guilabel:`Edit environmental variables for your account`. #. Click on Environment Variables option. #. Select the Path variable in the User Variables section, then select Edit. + + .. image:: /img/app-designer-overview/user-variable-section* + :alt: User variable section in environmental variables + :class: device-screen-vertical + #. In the Edit environment variables window, select New and add this path to the new field: :file:`%USERPROFILE%\AppData\Local\Android\sdk\platform-tools`. + + .. image:: /img/app-designer-overview/add-environment-variable* + :alt: Add Path in User path variable + :class: device-screen-vertical + #. Click on :guilabel:`OK` and exit all of the windows. #. Close all of the command line windows (if any are open).