Skip to content

Commit 650bf85

Browse files
committed
Making Android SDK folder writeable for the user
1 parent 857b6e1 commit 650bf85

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/versions.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
IMAGE_VERSION=1.21.11
1+
IMAGE_VERSION=1.21.12
22
NDK_VERSION=27.2.12479018
33
BAZELISK_VERSION=v1.26.0

android_dev/entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ copy_fix_dir_permissions "/home/${ACTUAL_USER}/.ssh"
6363
copy_fix_dir_permissions "/home/${ACTUAL_USER}/.gnupg"
6464
copy_fix_dir_permissions "/home/${ACTUAL_USER}/.gemini"
6565
copy_fix_file_owner "/home/${ACTUAL_USER}/.gitconfig"
66+
# Android SDK can be updated on the fly (with newly request build-tools etc)
67+
chown -R ${ACTUAL_USER}:${ACTUAL_USER} "${ANDROID_HOME}"
6668

6769
# --- 3. Set User Password ---
6870
# Check if the ACTUAL_PASSWORD environment variable is provided

0 commit comments

Comments
 (0)