Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thypon/vagrant-android

Android Builder VM Builder
https://github.com/thypon/vagrant-android

android android-build virtualbox

Last synced: 2 months ago
JSON representation

Android Builder VM Builder

Awesome Lists containing this project

README

        

vagrant-android
===============

Automatic Build Server for Android ROMs.

This creates a build Virtualmachine with [Vagrant](http://vagrantup.com/).

Hardware Requirements
---------------------

- CPU: Quad Core or more
- Memory: 16GB or more
- Hard Drive: 100GB or more

Software Requirements
---------------------

- [Install Virtualbox](https://www.virtualbox.org/wiki/Downloads)
- [Install Vagrant](http://downloads.vagrantup.com/)

Get Started
-----------

Create the virtual machine and installs all the needed packages:

user@host> vagrant up # It can takes several hours depending on your internet connection

Connect to the vm with:

user@host> vagrant ssh

Your android build distribution is ready to be use:

vagrant@guest> # do whatever you want

Real World Android Build
------------------------

user@host> vagrant up # Creates and Configure the VM
user@host> vagrant ssh # Connects to the VM
vagrant@guest> mkdir /mnt/android
vagrant@guest> cd /mnt/android # Move to android directory
vagrant@guest:android> repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.4_r2
vagrant@guest:android> repo sync \
# It can takes several hours depending on your internet connection
vagrant@guest:android> source build/envsetup.sh # Set-up compilation environment
vagrant@guest:android> lunch 1 # Selects the generic arm build
vagrant@guest:android> make -j4 \
# It can takes several hours depending on your horsepowers

Usefull Links
-------------

- [Android Build Informations](https://source.android.com/source/building-running.html)
- [Vagrant Docs](http://docs.vagrantup.com/v2/)
- [Virtualbox Docs](https://www.virtualbox.org/wiki/Documentation)