Skip to content

thypon/vagrant-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-android

Automatic Build Server for Android ROMs.

This creates a build Virtualmachine with Vagrant.

Hardware Requirements

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

Software Requirements

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