Step 1: Install ubuntu 14.04 amd64
1. Download the ubuntukylin‐14.04‐desktop‐amd64.iso in the ubuntu website or other site
2. Make a boot disk with the iso file
3. Install the ubuntu with boot disk
Step 2: Install oracle-java6-jdk
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer
It'll keep your java 6 installation up to date.
To automatically set up the Java 6 environment variables JAVA_HOME and PATH:
sudo apt-get install oracle-java6-set-default
Step 3: Install all the neccessary packages
sudo apt-get install git-core flex bison gperf build-essential curl libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
Step 4: Create a link to the libGL.so
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Step 5: Create bin path and add it into the PATH envionment variable
mkdir ~/bin
PATH=~/bin:$PATH
Android main in GIT: http://android.github.io/
Android repository index in GIT: https://github.com/android
Step 6: Download the repo file and grant proper permission
curl "https://github.com/android/tools_repo/blob/master/repo" >~/bin/repo
chmod 755 ~/bin/repo
Step 7: Create android source directory and chagne the path to it.
mkdir -p ~/android/lollipop
cd ~/android/lollipop
Step 8: Congiure your email and name
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
Step 9: Check all the branch
git ls-remote --tags https://github.com/android/platform_manifest
Step 10: Initialize the repo
repo init -u https://github.com/android/platform_manifest -b android-5.0.0_r2
Step 11: Update the manifest.xml
1、vim .repo/manifest.xml
2、将属性fetch的值修改为"git://Android.git.linaro.org/"
Step 12: Download the source code
repo sync
相关推荐
Including all source code of the book Java How to Programming(8th), which is a very classic book for Java learners.
HOW TO CONNECT the CE 5.0 emulator to VS2005
How to modify the source code of SAP ESS
从Deitel下载到的,配合Java-How to program 9th edition有助于学习
Instructions on how to download software via Passport Advantage site. How to download Software from PAO site.pdf
how to get the android resource code under ubuntu 8.04.I get it in the internet.
In this case, users can just download the ZOL downer with the code of resources, not the installation packages. But if someone want to install the PC which is isolated from the INTERNET, he or she ...
Learn how to build an interactive source code analytics system using Roslyn and JavaScript. This concise 150 page book will help you create and use practical code analysis tools utilizing the new ...
Using Gradle makes it easy for Android developers to manage dependencies and set up the entire build process., This book begins by taking you through the basics of Gradle and how it works with ...
The Android Developer's Cookbook Building Applications with the Android SDK and Source Project Code 源书(pdf)及源代码12章全都有(rar) Book Description Want to get started building applications for ...
This book is for software developers who want to understand why C# 5 is designed the way it is and how to use it effectively. The content assumes familiarity with object-oriented programming concepts...
Decompiling Android looks at the the reason why Android apps can be decompiled to recover their source code, what it means to Android developers and how you can protect your code from prying eyes....
Full source code to all the exercise answers is available, to help you if you get stuck. Android Programming Tutorials makes an excellent companion volume to more traditional Android books that ...
Source code on the remote web-hosting service is targeted to the latest Android Studio release, version 1.2. What you’ll learn How to get started with the Android Studio IDE How to navigate and use...
how to programing 的书中代码。很有用的!
Exploiting Software - How to Break Code.rar
Learn how to build an interactive source code analytics system using Roslyn and JavaScript. This concise 150 page book will help you create and use practical code analysis tools utilizing the new ...
The book does not cover in any detail how to download or install the Android development tools, either the Eclipse IDE flavor or the stand-alone flavor. The Android web site covers this quite nicely. ...
How to work with the source code First, download Android Studio and make sure all the required SDK Tools are properly updated. Then, complete the following steps: Download the zip fi