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.
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 ...
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....
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...
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 ...
Exploiting Software - How to Break Code.rar
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
Turn to The Android Developer’s Cookbook for proven, expert answers–and the code you need to implement them. It’s all you need to jumpstart any Android project, and create high-value, feature-rich ...
How to Use Objects will help you gain that understanding, so you can write code that works exceptionally well in the real world. Author Holger Gast focuses on the concepts that have repeatedly ...
A simple application with source code which shows how to save the contents of a rich text box without the help of common dialog box.
The first part is a guide on how to use the Code Editor in Android 6. The Code Editor provides programmers with an environment in which they can write their code, and perform some editing to it. The ...
When you have a question about how to use C# 5.0 or the .NET CLR, this highly acclaimed bestseller has precisely the answers you need. Uniquely organized around concepts and use cases, this fifth ...
dear sir , please could you tell us how to download this source code , we are working for the same studient project and we face some troubleshouting with our source code best regards Azdine
source insight is the best code viewer. but it can't auto add ...the details how to add is saved in the file "how to add comment in source insight.txt". i tried it and it works. so, share it with you.