본문 바로가기
WORK/Sotfware

ubuntu Android install

by KANG Stroy 2016. 2. 25.
728x90
728x90



참고 페이지 


http://source.android.com/source/initializing.html

http://source.android.com/source/build-numbers.html#source-code-tags-and-builds 


위 싸이트 그냥 참고 해서 복사해서 넣어주기만 하면 되는군요... 

중간에 시간이 겁나 오래 걸리는 부분이 있어서 .. 지루하기는 하내요.. 


JDK 다운로드 


For Ubuntu >= 15.04

Run the following:

$ sudo apt-get update

$ sudo apt-get install openjdk-8-jdk


버전이 낮은 우분투는 싸이트를 참고 하세요.. ㅋ


소스 다운로드 

http://source.android.com/source/downloading.html


To install Repo:

  1. Make sure you have a bin/ directory in your home directory and that it is included in your path:

    $ mkdir ~/bin
    $ PATH=~/
    bin:$PATH
  2. Download the Repo tool and ensure that it is executable:

    $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
    $ chmod a
    +x ~/bin/repo


  1. Create an empty directory to hold your working files. If you're using MacOS, this has to be on a case-sensitive filesystem. Give it any name you like:

    $ mkdir WORKING_DIRECTORY
    $ cd WORKING_DIRECTORY
  2. Configure git with your real name and email address. To use the Gerrit code-review tool, you will need an email address that is connected with a registered Google account. Make sure this is a live address at which you can receive messages. The name that you provide here will show up in attributions for your code submissions.

    $ git config --global user.name "Your Name"
    $ git config
    --global user.email "you@example.com"
  3. Run repo init to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest, which specifies where the various repositories included in the Android source will be placed within your working directory.

    $ repo init -u https://android.googlesource.com/platform/manifest

    To check out a branch other than "master", specify it with -b. For a list of branches

    $ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1


받고다 하는 안드로이드 버전을 확인 하기 위해서 




728x90

'WORK > Sotfware' 카테고리의 다른 글

QT int to QString 형 변환  (0) 2016.03.12
QT ScriptCommunicator / serial terminal  (0) 2016.03.11
QT android install  (0) 2016.02.12
window 7 QT install  (0) 2016.02.11
virtualbox putty 접속방법  (0) 2016.02.05

댓글