Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Try to run android emulator on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
kbetl-dlb committed May 12, 2023
1 parent 716fe9e commit 0a8de56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ jobs:
with:
java-version: 15
distribution: 'adopt'
- name: Enable KVM group perms
run: |
sudo apt-get install -y qemu-kvm
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Set up Flutter version 🔧
uses: ./.github/actions/flutter-action
with:
Expand Down
2 changes: 1 addition & 1 deletion scripts/configure-sdkmanager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

build_tools_version="build-tools;32.0.0"
platform_version="platforms;android-32"
system_image="system-images;androidsdk-29;default;x86"
system_image="system-images;android-29;default;x86"

sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
sudo systemctl enable libvirt-bin
Expand Down

0 comments on commit 0a8de56

Please sign in to comment.