You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This is a collection of GitHub Actions for Android development
4
4
5
5
# Requirements
6
6
7
-
This is only tested with **macOS-10.15**environment. It might work on linux but there is no support for kvm there so don't expect to have api 26+ available there.
7
+
Tested with **macOS-12**and **ubuntu-latest** runner images. It might work using other runners (including self-hosted ones) but there is no support for them.
8
8
9
9
## Android SDK
10
10
This repo provides an action for installing the Android SDK on the build agent. It will override whatever setup is
@@ -38,14 +38,23 @@ I suggest to use `./gradlew` to minimize the dependency on environment setup.
38
38
`action-android/emulator-run-cmd`provide an action which installs the emulator packages, starts the emulator and waits
39
39
until it's booted. After this it will execute the provided cmd and stop the running emulator.
40
40
41
-
It's imperative(!) to use `runs-on: macOS-10.15` if you want to have hardware acceleration for your emulator.
41
+
It's imperative(!) to use `runs-on: ubuntu-latest` with KVM enabled or `runs-on: macOS-12` if you want to have hardware acceleration for your emulator.
42
+
43
+
### Enabling KVM for ubunut-latest
44
+
```
45
+
- name: Enable KVM
46
+
run: |
47
+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
0 commit comments