android

    mr? fr?

    #ref. http://stackoverflow.com/questions/8548423/what-does-mr-version-stand-for mr = "maintenance release", fr = "factory rom". 그렇다고함.

    안드로이드 부분 빌드

    #ref. http://www.kaisyu.com/notes/google-android/android-partial-module-build $ANDROID_HOME/build/envsetup.sh 스크립트를 사용하면 간편하게 특정 module만 build할 수 있다. ~/temp# source build/envsetup.sh ※ 빌드 전 맞는 target을 지정해 주는 것을 잊지 말자! ~/temp# lunch 위 스크립트에서 제공하는 함수들 중 m, mm, mmm 세 가지를 사용하게 된다. m - 현재 경로를 기준으로 소스 트리의 최상위 경로로 이동한 후 make를 실행해준다. mm - 현재 경로를 기준으로 가장 가까운 단위 모듈을 찾아서 그 모듈만 build 해준다. mmm - 파라미터로 주어진 경로..

    [AOSP 빌드] 3. 빌드, 플래싱

    [AOSP 빌드] 3. 빌드, 플래싱

    #ref. http://thdev.net/498, http://yijoongwon.com/?p=119 #1. 안드로이드 명령셋 등록 http://source.android.com/source/building-running.html ~/temp# source build/envsetup.sh #2. 빌드 타겟 설정 http://source.android.com/source/building-devices.html#picking-and-building-the-configuration-that-matches-a-device 여기서 자신의 device를 확인하자. ~/temp# lunch full_grouper-userdebug or ~/temp# lunch 하여 선택 가능. #3. 빌드 ~/temp# make (..

    [AOSP 빌드] 2. vendor 생성

    [AOSP 빌드] 2. vendor 생성

    #ref. http://kyuhyuk.kr/363 #1. vendor binary 다운로드 https://developers.google.com/android/nexus/drivers 1. 다운로드 https://developers.google.com/android/nexus/drivers 여기에서 자신에게 맞는것을 선택하여 다운받자. 2. 압축해제 다운 받은 모든 tgz 파일 압축 해제. ~# tar zxvf OOOO.tgz 압축을 해제하여 나온 모든 *.sh 파일을 안드로이드 소스의 최상단 디렉토리로 이동. ~# mv ./*.sh ~/temp (나의 안드로이드 소스 디렉토리는 ~/temp) #2. 설치 1. *.sh 모두 설치 각각의 *.sh 를 실행하여 모두 설치하자. ~/temp# ./extrac..

    [AOSP 빌드] 1. 안드로이드 full source 다운로드

    #ref. http://thdev.net/498 하드용량 -> 60GB 이상 추천 (30GB로 소스 빌드가 안됬던거 같았음!) 메모리 -> 1GB 설정시 빌드 에러나서 2.5GB로 설정해서 됬음. 4.4.4 컴파일 시 메모리 2.5GB로도 에러 ㅠㅠ -> 스왑 파티션을 충분하게 잡아줘야 함! #1. 빌드 환경 구성 http://source.android.com/source/initializing.html 0. 우분투 설치 12.04 LTS 64bit 이상 1. JDK 설치 ~# add-apt-repository ppa:webupd8team/java ~# apt-get update ~# apt-get install oracle-java6-installer (현재 AOSP 설명으로는 JDK가 안깔림. 우분투..

    이클립스 컬러 테마 변경

    이클립스 컬러 테마 설정 1-1. If you are on Eclipse 3.6 (Helios), the easiest way to install the plugin is from the Eclipse Marketplace. Go to Help→Eclipse Marketplace..., then search for Eclipse Color Theme and install it. 1-2. If you are on Eclipse 3.5 (Galileo), go to Help→Install New Software..., press Add Site and enterEclipse Color Theme as the name and http://eclipse-color-theme.github.com/update as..

    안드로이드 프로젝트 구조

    Android ProjectsAndroid projects are the projects that eventually get built into an .apk file that you install onto a device. They contain things such as application source code and resource files. Some are generated for you by default, while others should be created if required. The following directories and files comprise an Android project:src/Contains your stub Activity file, which is stored..