All Projects → uber-archive → android-build-environment

uber-archive / android-build-environment

Licence: MIT license
Docker repository for android build environment

Android Build on Docker Container

Mac OSX

Prerequisites

Create container with docker-machine :
$ docker-machine create -d virtualbox --virtualbox-disk-size "200000"  --virtualbox-memory 4096 --virtualbox-hostonly-cidr "192.168.90.1/24" default

$ docker-machine upgrade default
To build the container image:
$ eval "$(docker-machine env default)"

$ docker build -t uber/android-build-environment .
Android Build :
$ cd /path/to/your/android/source/root

$ docker run -i -v $PWD:/project -t uber/android-build-environment /bin/bash /project/ci/build.sh

FAQ

Having connectivity issue when connect via VPN

Stop the docker-machine vm:

$ docker-machine stop default

Then connect to your VPN and restart the docker vm:

$ docker-machine start default
$ eval "$(docker-machine env default)"

Read more

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].