2012년 10월 28일 일요일

우분투 12.04에 안드로이드 빌드

밑에서 소스 받는거 했으니..

받아보자.

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

에 있다.

근데 아래처럼 자바 7깔면 버전 체크 에러 난다.

뭐야 .. ㅡㅡ; 

build/core/main.mk
보면 수정 포인트가 두 군데 있는데 아래처럼

java=version := $(shell java -version 2>&1 | head -n 1 | grep '^java .*[ "]`\.7[\."SS\')

 6을 7로 바꾸어 주면 된다.

빌드 명령은 인터넷에 있는데

아래께 안되면 알아서 찾아서...

make -j4 -mp

난 잘된다.

빌드 로그 들이 스크롤이 잘 되고 잘 끝난다.

그런데 뭐가 만들어진 거지?

touch 로 파일 하나 생성해 뒀는데

find ./ -newer 파일명

하면 생성한 파일 이후에 생성된 파일이 나온다.

out밑에 이것저것 만들어 졌는데... 댄장...

어케 하는 거야... 구글링 좀 해서 정리해봐야 겠다.


댓글 없음:

댓글 쓰기

국정원의 댓글 공작을 지탄합니다.

UPBIT is a South Korean company, and people died of suicide cause of coin investment.

 UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...