Skip to content

Commit

Permalink
Fix devcontainer ndk install error
Browse files Browse the repository at this point in the history
Write permission denied to `/opt/android-sdk-linux`
  • Loading branch information
takenagain committed May 21, 2024
1 parent 1e351d0 commit 566ba0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .docker/dev-setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ To build from a container without installing Flutter on an x86_64 machine (Linux

```bash
docker build -f .docker/android-apk-build.dockerfile . -t mobile_apk_build
docker run --rm -u 1001:1001 -v ./build:/app/build mobile_apk_build:latest
docker run --rm -v ./build:/app/build mobile_apk_build:latest
```

The build output should be in the following directory: `build/app/outputs/flutter-apk/app-release.apk`
Expand Down

0 comments on commit 566ba0b

Please sign in to comment.