본문 바로가기

개발관련/안드로이드 정리 ( update file )

Android Source Download

  • Android Source Download

       

    참고 : http://source.android.com/source/git-repo.html

       

    • apt-get install curl

         

    •    

    • chmod a+x repo

         

    • repo init -u git://android.git.kernel.org/platform/manifest.git

         

      ex ) froyo 다운 ( -b 옵션 사용 )

      repo init -u git://android.git.kernel.org/platform/manifest.git -b version_name

      /*

      • éclair ( 2.1 ), froo ( 2.2 ), gingerbread ( 2.3 )
      • 2011.02.25 현재 froyo 소스 받아지지 않고 있음

        중간에 "error : revision froyo in manifests not found " 라고 메시지 뜸

      • 해결

        $repo init -u git://android.git.kernel.org/platform/manifest.git -b android-2.2.1_r1

      */

    • repo sync

         

      repo sync 시 서버 문제 및 기타 문제로 인해 비정상 종료 자주 됨.

         

       

       

    ~ froyo ( java-1.5 )

    gingerbread ( java-1.6 )

       

  • Kernel Source Download

       

    éclair - ( 2.1 / kernel : 2.6.29 )

    froy - ( 2.2 / kernel : 2.6.32 )

    gingerbread - ( 2.3 / kernel : 2.6.35 )