Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contribution: Alternative method of adding adb in PATH in Windows #292

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions src/app-designer-prereqs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,25 @@ 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

.. Alternative way of adding adb in your Windows PATH
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you share screen shots for this? That would make it clearer.

#. 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).

.. code-block:: console

$ adb version
Expand Down