Android-emulator is yet another Docker image with Android SDK and emulator inside (based on tons of other works).
My aims:
- Make stable and reliable Docker container
- Put some tools for static analysis inside
- Implement useful commands to Makefile
Docker image avalaible from Docker registry.
0.0.2
Use Docker registry with latest tag:
$ docker pull tracer0tong/android-emulator:latest
$ docker run -d -P --name android tracer0tong/android-emulator Or use Makefile from repository:
$ git clone https://github.com/tracer0tong/android-emulator.git android-emulator
$ cd android-emulator
$ make run
$ make ports
Use:
adb kill-server
adb connect 172.17.1.88:33069
or
adb connect 0.0.0.0:33069
or
adb connect 192.168.59.103:33069By default it will create and run API 19 (x86) for you, but some other versions also supported. You can run emulator for API versions: 10, 18, 19, 21, 22. This is the most popular API versions among usable devices.
$ make EMULATOR="android-10" runor
$ docker run -d -P --name android tracer0tong/android-emulator -e "android-10"Additional Makefile targets:
$ make kill
$ make ps
$ make ports
$ make clean- Add new targets to Makefile (create new AVD, update sdk etc.)
- Optimize Dockerfile
- Provide options for emulator, port redirection, etc.
- Add androguard, drozer etc. to image
Apache