| description | How to install `adb`, `choco` and `WSL` for Windows. |
|---|
In order to use Automatic Script for Android Emulator, the following command line must be installed on your Windows machine:
- wsl
- choco (package manager for Windows)
- adb (Android Debug Bridge)
- On Windows 10/11, search: Command Prompt app
- Right-click on the app -> Select Run as administrator option.
- When the App is opened, copy & paste the following command:
wsl --install- Restart your Windows to take effect -> After restarting, Windows will open the Command Prompt which asks the user to create a new Username / Password -> Follow this instruction
- Open the Command Prompt app again, execute:
wsl
- Verify that the command is successful, with no errors:
- Done ✅
- Open PowerShell with Run as Administrator
- Paste and run it:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
- Wait a few seconds for the command to complete.
- If you don't see any errors, you are ready to use Chocolatey! Type choco or choco -? now, or see Getting Started for usage instructions.
Choco Installation Guide: https://chocolatey.org/install#individual
- Open PowerShell with Run as Administrator
- Run:
choco install adb -y
- Verify the adb is successfully installed and there is no error
