From c9f4a7a82a1dda4aced17552b795c592f6efac21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E7=AB=8B=E5=BF=97?= <15081173508@139.com> Date: Thu, 7 May 2026 17:50:18 +0800 Subject: [PATCH 1/2] fix:Failing on RUN /opt/install-sdk.sh #10 --- .gitattributes | 1 + scripts/emulator-monitoring.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfdb8b7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eol=lf diff --git a/scripts/emulator-monitoring.sh b/scripts/emulator-monitoring.sh index 670b437..7d6478a 100644 --- a/scripts/emulator-monitoring.sh +++ b/scripts/emulator-monitoring.sh @@ -58,4 +58,4 @@ function wait_for_boot() { sleep 1 fi update_state "ANDROID_READY" -} \ No newline at end of file +} From fc1d197d0e28944e8a900211f84d3fd8e68996e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E7=AB=8B=E5=BF=97?= <15081173508@139.com> Date: Thu, 7 May 2026 18:15:10 +0800 Subject: [PATCH 2/2] fix:ERROR | x86_64 emulation currently requires hardware acceleration! CPU acceleration status: /dev/kvm is not found: VT disabled in BIOS or KVM kernel module not loaded --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 2c82520..a2f2c63 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,6 +26,8 @@ services: - ./android_avd:/data extra_hosts: - "host.docker.internal:host-gateway" + devices: + - /dev/kvm:/dev/kvm android-emulator-cuda: build: