amrsa1 / Android-Emulator-image

The use of this Docker image simplifies the process of running an Android emulator within a Docker container
MIT License
113 stars 52 forks source link

docker compose: Error: "emulator" package must be installed! #31

Closed RichardHausgartner closed 1 month ago

RichardHausgartner commented 1 month ago

I use the latest commit https://github.com/amrsa1/Android-Emulator-image/commit/11a7f678fbf442f4df3f828eca637dbf381dd26c When starting up with docker compose up these error messages appear:

 => ERROR [android-service  6/10] RUN echo "no" | avdmanager --verbose create avd --force --name "nexus" --device  1.3s
------
 > [android-service  6/10] RUN echo "no" | avdmanager --verbose create avd --force --name "nexus" --device "Nexus 6" --package "system-images;android-34;google_apis_playstore;x86_64":
[=======================================] 100% Fetch remote repository...
0.955 Auto-selecting single ABI x86_64
1.233 Error: "emulator" package must be installed!
1.233 null
------
failed to solve: process "/bin/bash -c echo \"no\" | avdmanager --verbose create avd --force --name \"${EMULATOR_NAME}\" --device \"${EMULATOR_DEVICE}\" --package \"${EMULATOR_PACKAGE}\"" did not complete successfully: exit code: 1
amrsa1 commented 1 month ago

Pull now the latest change, ut should be fine as long as you are not on Mac apple silicone

RichardHausgartner commented 1 month ago

The fix closes this issue, but there is another issue, see #32