adb server as sudo

This commit is contained in:
Andriy Petrov 2024-03-22 16:06:58 +01:00
parent 5cc4decbcf
commit 8eb26cd064

View File

@ -84,3 +84,12 @@ emulator @pixel_6.27 -qemu -machine virt
> [!NOTE] -qemu -machine virt
> This two options are only necessary if you are going to run **Aarch64** Android on a **x86_64** host.
## adb server
If you see _`access denied`_ error message for `adb` command, run `adb server` with sudo:
```bash
sudo ~/bin/android_sdk_root/platform-tools/adb start-server
```
The command will spawn background `adb server` process, granting necessary access permissions for all subsequent local `adb` commands.