Sign inSign up

saschpe/android-emulator

By saschpe

•Updated 11 days ago

Android SDK with Emulator OCI image

Image
Developer tools
0

8.7K

saschpe/android-emulator repository overview

⁠Android SDK with Emulator OCI / Docker image

License GitHub Workflow Status Docker Pulls Docker Image Size (latest by date)

Android SDK OCI image based on Docker image saschpe/android-sdk⁠ with pre-installed build-tools, latest command-line tools and JDK 17 (or later) as well as the Android Emulator.

⁠Android SDK and JDK support

The following JDK (horizontal axis) and Android SDK API level combinations are currently available:

111721222325
31✅✅
32✅✅✅✅
33✅✅✅✅
34✅✅✅✅✅
35✅✅✅✅
37.2✅✅✅

⁠Usage

⁠Pulling
docker pull saschpe/android-emulator:37.2-jdk25.0.4_7
⁠Running

The emulator requires KVM acceleration for reasonable performance. Ensure the host supports KVM and pass the device to the container:

docker run -it --rm --device /dev/kvm saschpe/android-emulator:37.2-jdk25.0.4_7

For CI environments or other headless use-cases, you can start the emulator with -no-window:

docker run -it --rm --device /dev/kvm saschpe/android-emulator:37.2-jdk25.0.4_7 \
    emulator -avd pixel -no-window -no-audio
⁠Base Image
FROM saschpe/android-emulator:37.2-jdk25.0.4_7
RUN android sdk install "cmake;3.31.5"

⁠Building

These scripts simplify various tasks related to container building and publishing:

./scripts/build --help

⁠License

Copyright 2023-2026 Sascha Peilicke

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Tag summary

Content type

Image

Digest

sha256:2f26671a7…

Size

1.6 GB

Last updated

11 days ago

docker pull saschpe/android-emulator:37.2-jdk21.0.12_8