adb server as sudo
This commit is contained in:
parent
5cc4decbcf
commit
8eb26cd064
@ -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.
|
Loading…
Reference in New Issue
Block a user