From 8eb26cd06411a3aa15e168ed724167c77062bce0 Mon Sep 17 00:00:00 2001 From: Andriy Petrov Date: Fri, 22 Mar 2024 16:06:58 +0100 Subject: [PATCH] adb server as sudo --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index d650487..aeef340 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file