diff --git a/.docker/android-dev.dockerfile b/.docker/android-dev.dockerfile index 9cc146d8..50330b1e 100644 --- a/.docker/android-dev.dockerfile +++ b/.docker/android-dev.dockerfile @@ -10,7 +10,9 @@ RUN apt update && apt install -y python3 python3-pip python3-venv && \ useradd -u 1001 -m $USER && \ usermod -aG sudo $USER && \ echo "$USER ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \ - chown -R $USER:$USER /home/$USER + chown -R $USER:$USER /home/$USER && \ + chown -R $USER:$USER /opt/android-sdk-linux && \ + chmod -R u+rw,g+rw /opt/android-sdk-linux USER $USER diff --git a/.docker/dev-setup.sh b/.docker/dev-setup.sh index 9af06790..144bf843 100644 --- a/.docker/dev-setup.sh +++ b/.docker/dev-setup.sh @@ -1,5 +1,4 @@ chmod u+rw,g+r komodo:komodo /home/komodo/workspace -chown -R komodo:komodo /opt/android-sdk-linux mkdir -p android/app/src/main/cpp/libs/armeabi-v7a mkdir -p android/app/src/main/cpp/libs/arm64-v8a /home/komodo/.venv/bin/pip install -r .docker/requirements.txt