Code Monkey home page Code Monkey logo

android_build_stack's Introduction

Android Build Stack

The goal of this project is to set up a sandbox system to compile Android without having to modify my operating system, and also to run the best operating system according to the Android version to build.

WARNING : please be careful when using this tool.

Work in progress :)

How to use

You need to have Docker installed on your system.

There are several environments variables to define for some commands :

  • BUILD_PATH : a complete path to the directory accessible to the container (normally your Android sources).
  • OS : the Linux distribution in the container.
  • RELEASE : the release or version of the Linux distribution.

The list of distributions and release available for now :

OS RELEASE Corresponding
ubuntu 18_04 Ubuntu 18.04
ubuntu 14_04 Ubuntu 14.04
archlinux latest Archlinux

If you use classic Docker, you must have to be root or use sudo for each commands.

List of commands available :

# First we need to prepare our system
make build OS=ubuntu RELEASE=18_04

# Next we have to set the buid directory for the first start of the system
make init-start OS=ubuntu RELEASE=18_04 BUILD_PATH=/home/akp/android_sources

# Now you can enter in the shell of your system
make shell OS=ubuntu RELEASE=18_04 # You can do what your want inside this system !

# For shutdown your system
make stop OS=ubuntu RELEASE=18_04

# If you don't have destroye you system,
# you can start it with the simpler command
make start OS=ubuntu RELEASE=18_04

# If you want to remove your system
make rm  OS=ubuntu RELEASE=18_04

# If you want update a system
make stop OS=ubuntu RELEASE=18_04
make update OS=ubuntu RELEASE=18_04

android_build_stack's People

Contributors

akipe avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.