From 8deda6cad1b9df12d440b586e2d74d0b4af67689 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Thu, 11 Jul 2024 11:55:40 +0200 Subject: [PATCH] Add sudo chown -R vscode:vscode ${ANDROID_HOME} to android-cli (fixes #7) --- src/android-cli/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/android-cli/install.sh b/src/android-cli/install.sh index c21a311..8f56ee7 100644 --- a/src/android-cli/install.sh +++ b/src/android-cli/install.sh @@ -35,6 +35,9 @@ cd ${PATH_COMMAND_LINE_TOOLS} mv !(tools) tools cd ${ANDROID_HOME} +# https://github.com/akhildevelops/devcontainer-features/issues/7 +sudo chown -R vscode:vscode ${ANDROID_HOME} + # Set Path export PATH=${PATH_COMMAND_LINE_TOOLS}/tools/bin:$PATH