thedrhax-dockerfiles / Android Avd
Headless Android x86 emulator ready for automated instrumentation testing.
Stars: ✭ 87
Projects that are alternatives of or similar to Android Avd
Androidsdk
🐳 Full-fledged Android SDK Docker Image
Stars: ✭ 776 (+791.95%)
Mutual labels: emulator, android-sdk
Action Android
Collection of Android-related GitHub Actions
Stars: ✭ 116 (+33.33%)
Mutual labels: emulator, android-sdk
Android Sdk Installer
Linux utility which aims to automatically install and configures Android SDK, Eclipse ADT Plugin, adds hardware support for devices and enables full MTP support.
Stars: ✭ 78 (-10.34%)
Mutual labels: android-sdk
Unidbg
Allows you to emulate an Android ARM32 and/or ARM64 native library, and an experimental iOS emulation
Stars: ✭ 1,168 (+1242.53%)
Mutual labels: emulator
Emu2
Simple x86 and DOS emulator for the Linux terminal.
Stars: ✭ 75 (-13.79%)
Mutual labels: emulator
Koreader Base
Base framework offering a Lua scriptable environment for creating document readers
Stars: ✭ 81 (-6.9%)
Mutual labels: emulator
Ifvms.js
The Interactive Fiction Virtual Machines Suite - in Javascript and Rust
Stars: ✭ 70 (-19.54%)
Mutual labels: emulator
Apkscale
A Gradle plugin to measure the app size impact of Android libraries
Stars: ✭ 76 (-12.64%)
Mutual labels: android-sdk
Tinysmaliemulator
A very minimalist smali emulator that could be used to "decrypt" obfuscated strings
Stars: ✭ 68 (-21.84%)
Mutual labels: emulator
Bizhawk
BizHawk is a multi-system emulator written in C#. BizHawk provides nice features for casual gamers such as full screen, and joypad support in addition to full rerecording and debugging tools for all system cores.
Stars: ✭ 1,138 (+1208.05%)
Mutual labels: emulator
Desmume Psp
A Nintendo DS emulator for PlayStation Portable.
Stars: ✭ 72 (-17.24%)
Mutual labels: emulator
Android Virtual Device for Docker
This image contains the latest version of Android SDK with configured AVD.
Dockerfile
links
Supported tags and respective
Examples
- Basic usage
docker run -it --rm --name avd --device /dev/kvm thedrhax/android-avd
# Use ADB to interact with virtual device
docker exec -it avd adb shell
- Remote ADB connection
docker run -it --rm --device /dev/kvm -p 5554:5554 -p 5555:5555 thedrhax/android-avd
# Connect local ADB process to AVD (not required if both are on localhost)
adb connect IP_OF_AVD_CONTAINER_OR_HOST
# Use ADB to interact with virtual device
adb shell
- Automated instrumentation testing via Gradle, Android Studio, etc.
# Install socat
sudo apt-get install socat
# Bind container's port 5555 to localhost
socat tcp-listen:5555,bind=127.0.0.1,fork tcp:IP_OF_AVD_CONTAINER:5555 & PID=$!
# Run Gradle tests
gradle connectedAndroidTest
# or use ADB without connecting to remote AVD
adb shell
# or just use AVD in Android Studio
# Kill socat
kill $PID
- Interact with AVD via VNC
docker run -it --device /dev/kvm -p 5900:5900 thedrhax/android-avd
# Use any VNC client to connect to localhost:5900, for example:
ssvncviewer localhost:5900
- Interact with AVD via noVNC (HTML5 VNC client)
docker run -it --device /dev/kvm --env noVNC=true -p 6080:6080 thedrhax/android-avd
# Open http://localhost:6080/vnc.html in your browser
xdg-open http://localhost:6080/vnc.html
Note: --device /dev/kvm
flag is required to enable CPU hardware acceleration.
You may also need to activate kvm
kernel module on your host machine: modprobe kvm
, or even install it first.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].