• Stars
    star
    247
  • Rank 164,117 (Top 4 %)
  • Language
    Shell
  • License
    Apache License 2.0
  • Created almost 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Dockerized android emulator

docker-emulator-android

docker-emulator-android is one of the components of android-farm. It runs android emulator with hardware acceleration in a container.

Features

  • Compatible with OpenSTF
  • Optimized for performance
    • hardware acceleration using KVM
    • QEMU 2
  • Changing emulator spec is supported by
    • overriding config.ini variables using ANDROID_CONFIG
    • overriding emulator cmd args using EMULATOR_OPTS and QEMU_OPTS
    • overriding adb ports using CONSOLE_PORT (default 5554), ADB_PORT (default 5555)
  • VNC server (port 5900)
  • Google API's enabled

Usage

For example to run default emulator options with Marshmallow (API 23):

$ docker run --rm --privileged -e ANDROID_ARCH="x86" -v /dev/kvm:/dev/kvm agoda-com/docker-emulator-android-23:latest
$ adb connect VIP:5555

If you want to start different configuration of device, for example a 7 inch tablet, you need to override config.ini variables:

$ docker run --rm --privileged -e ANDROID_ARCH="x86" -e ANDROID_CONFIG="skin.name=600x1024;hw.lcd.density=160;hw.lcd.height=600;hw.lcd.width=1024;hw.device.name=7in WSVGA (Tablet);avd.ini.displayname=7  WSVGA (Tablet) API 23;" -v /dev/kvm:/dev/kvm agoda-com/docker-emulator-android-23:latest

For all the options available please check the official documentation

Building

$ export DOCKER_USER=user
$ export DOCKER_PASS=password
$ make PROXY=docker-registry-url/ build tag login push # eg PROXY=registry.hub.docker.com

License

docker-emulator-android is open source and available under the Apache License, Version 2.0.

Android SDK components are available under the Android Software Development Kit License

More Repositories

1

Kakao

This repo is no longer supported. Please visit a https://github.com/KakaoCup/Kakao
Kotlin
1,110
star
2

android-farm

Android devices farm with USB and emulated devices support
Smarty
165
star
3

ninjato

Flexible and type-safe inline HTTP client for Android and Kotlin
Kotlin
111
star
4

boots

Lightweight bootstrap library for your Kotlin, Java and Android apps
Kotlin
91
star
5

samsahai

Dependencies verification system with Kubernetes Operator
Go
80
star
6

Agoda.IoC

C# IoC extension library, used at Agoda for Registration of classes into IoC container based on Attributes.
C#
39
star
7

react-handyman

👨‍🔧 Enhance your React.js app with i18n, string formatting, ab tests and other handy packages!
TypeScript
37
star
8

opentelemetry-logs-go

Opentelemetry Logs Go library
Go
35
star
9

net-loadbalancing

.NET Standard library for simple retry handling and load balancing
C#
25
star
10

adb-butler

adb server for OpenSTF deployment
Shell
22
star
11

AgodaAnalyzers

A set of opinionated Roslyn analyzers for C#
C#
21
star
12

standards-c-sharp

Agoda's standards and practices for C# code
20
star
13

kafka-jdbc-connector

Simple way to copy data from relational databases into kafka.
Scala
20
star
14

opentelemetry-go

Extensions to OpenTelemetry (Golang)
Go
18
star
15

spark-hpopt

Bayesian hyperparamter tuning for Spark MLLib
Jupyter Notebook
10
star
16

eslint-config-agoda

Agoda's ESLint configuration
JavaScript
8
star
17

agoda-design-toolkit

Sketch Plugin - Quickly generate real content for your design workflow (Internal use)
JavaScript
4
star
18

dotnet-build-metrics

Measure Compilation time of Dev local C# projects
C#
4
star
19

tslint-rules

A set of TSLint rules used on some Agoda projects.
TypeScript
3
star
20

Rebus.Kafka

C#
2
star
21

teldrassil

Visualize dependency graphs in your Intelli J projects
Kotlin
2
star
22

otelzap

Zap logger with OpenTelemetry support
Go
2
star
23

kafka-jdbc-connector-samples

Kafka JDBC Connector sample projects
Scala
2
star
24

android-ci

Android CI scripts
Dockerfile
1
star
25

samsahai-example

Samsahai Integration Configuration
Makefile
1
star
26

cicd

JavaScript
1
star
27

ga-npm-wildcard-check

PowerShell
1
star
28

Shouldly.FromAssert

C#
1
star
29

StructuredMapper

C#
1
star
30

KafkaFlow.ApplicationInsights

C#
1
star