1.å¦ä½ç¼è¯Androidçkernel
2.怎样才能看到android源码?
3.error:downloadlauthrejeeted411
å¦ä½ç¼è¯Androidçkernel
1.åå¤å·¥ä½ï¼ ï¼ubuntu ä½ï¼
ubuntuçlinuxOSï¼ä¸è½½å¥½eclipseï¼å®è£ 好JDKï¼ å®è£ 好androidçSDKï¼ å¨eclipseä¸æåæå¼android ææºæ¨¡æå¨å³OKã
2.åå§åç¼è¯ç¯å¢ ï¼
å ³æ³¨è¯¥ç½é¡µä¸çâinstalling required packagesâ,源码大圣BC源码出租å ¶ä¸æç软件å å 为çæ¬é®é¢èå®è£ ä¸ä¸ï¼ä¸ç¨ç®¡å®ï¼ä¹åéå°é误ååç¬è§£å³ã
3.ä¸è½½å æ ¸æºç ï¼
android 2.3 å æ ¸ ä¸è½½éè¦çå¾ ä¸æ®µæ¶é´ã
4.ä¸è½½äº¤åç¼è¯å¨ï¼
该æ¥éª¤æå¯è½è费大éæ¶é´ï¼ä¾æ®ç½éä¸åï¼å 个å°æ¶å°å 天ä¸çï¼æ许å¯ä»¥å°è¯git clone åé¢çå°ååªä¸è½½prebuilt/linux-x/toolchain
5.设置åæ°ä»¥åç¼è¯ï¼
$ export ARCH=arm
$ export SUBARCH=arm
$ export CROSS_COMPILE=arm-eabi-
$ cd goldfish // è¿å ¥ä¸è½½çæºä»£ç ç®å½
$ git checkout <commit_from_first_step> //è¿ä¸ªæ¥éª¤æ没æåï¼ä¸ç¥éå¹²åç¨ç
$ make goldfish_defconfig
$ make
6.æ¥éä¿¡æ¯ï¼
è¥ææ¥é说æ¾ä¸å° ï¼arm-eabi-gcc command not foundï¼ççï¼å°è¯ä½¿ç¨/new-passwordï¼å¹¶ç¨gmailå¸å·ç»å½ï¼
2. ç¹å»ç½é¡µä¸çâå 许访é®âï¼å¾å°ç±»ä¼¼
machine android.googlesource.com login git-jacky.rg4.net password 1/dkRiGEvvC8o8Pgg-GsM2AbMNS_-U0Pf0_VWkYogIA
machine android-review.googlesource.com login git-jacky.rg4.net password 1/dkRiGEvvC8o8Pgg-GsM2AbMNS_-U0Pf0_VWkYogIA
3. æä¸é¢é£æ®µä¿¡æ¯è¿½å å°~/.netrcæ件ç»å°¾(请æ£æ¥å½åç¨æ·çæé, å¦æä¸åå¨æ¤æ件åèªå·±æ°å»ºä¸ä¸ª)ï¼
4. ä¸è½½å°åçURIæ´æ¹ä¸º/a/platform/manifestï¼ä¸é´å ä¸äºâ/aâï¼ã
5. repo init -u /a/platform/manifest -b android-4.0.3_r1
6. repo sync
å³å¯æä¸Androidæºç ã
å®æ¹ç说æ³æ¯ï¼å 为访é®åºæ¬æ¯å¿åçï¼ä¸ºäºé²æ¢è¿æ¥è¿å¤(æå ç½/èææº)ï¼å¯¹åä¸IPå°åçè¿æ¥æ°åäºä¸å®çéå¶ãçæ¥æ¯ç¨gmailå¸å·è¿è¡è®¤è¯ã
è¿æ ·çè¯ï¼å¨å ¬å¸ç½ç»å æè ç¨èææºä¸è½½çè¯ï¼ä¼ç»å¸¸éå°è¿é®é¢ã