1.ubuntuåandroidçåºå«
2.å¦ä½ç¨ubuntu 12.04 32bit ç¼è¯android 4.4.4
ubuntuåandroidçåºå«
Ubuntuï¼ä¹çå¾ï¼æ¯ä¸ä¸ªä»¥æ¡é¢åºç¨ä¸ºä¸»çLinuxæä½ç³»ç»ï¼å ¶å称æ¥èªéæ´²åé¨ç¥é²è¯æ豪è¨è¯çâubuntuâä¸è¯ï¼æææ¯â人æ§âãâæçåå¨æ¯å 为大家çåå¨âï¼æ¯éæ´²ä¼ ç»çä¸ç§ä»·å¼è§ï¼ç±»ä¼¼å人社ä¼çâä»ç±âææ³ãUbuntuåºäºDebianåè¡çåGNOMEæ¡é¢ç¯å¢ï¼èä».çèµ·ï¼Ubuntuåè¡çæ¾å¼äºGnomeæ¡é¢ç¯å¢ï¼æ¹ä¸ºUnityï¼ä¸Debiançä¸åå¨äºå®æ¯6个æä¼åå¸ä¸ä¸ªæ°çæ¬ãUbuntuçç®æ å¨äºä¸ºä¸è¬ç¨æ·æä¾ä¸ä¸ªææ°çãåæ¶åç¸å½ç¨³å®ç主è¦ç±èªç±è½¯ä»¶æ建èæçæä½ç³»ç»ãUbuntuå ·æåºå¤§ç社åºåéï¼ç¨æ·å¯ä»¥æ¹ä¾¿å°ä»ç¤¾åºè·å¾å¸®å©ãå¹´1æ3æ¥ï¼Ubuntuæ£å¼åå¸é¢åæºè½ææºç移å¨æä½ç³»ç»ã
ubuntuåºäºlinuxçå è´¹å¼æºæ¡é¢PCæä½ç³»ç»ï¼ååå¥åè±ç¹å°çè¶ ææ¬å®ä½ï¼æ¯æxãä½åppcæ¶æã
å¹´2ææ¥ï¼Canonicalå ¬å¸äºå京ä¸å ³æçå åæ¥é åºå¬å¼äºUbuntuæºè½ææºåå¸ä¼ï¼æ£å¼å®£å¸Ubuntuä¸å½äº§ææºååé æåä½æ¨åºUbuntuçMX3ãé æå¯æ»è£ææ¥ å°åºåºå¸ã
å ¶å®æ²¡ä»ä¹å¤å¤§åºå«ï¼é½æ¯åºäºlinuxç³»ç»æºä»£ç ï¼å¼åçãåªä¸è¿ä¸ä¸ªè¿ç¨å¨ææºç«¯ï¼ä¸ä¸ªè¿ç¨å¨çµèPC端ãä¸è¿ç°å¨ä¹çå¾ç³»ç»å·²ç»åå¤å»åææºç³»ç»ãè®°å¾é纳ï¼è°¢è°¢ã
å¦ä½ç¨ubuntu . bit ç¼è¯android 4.4.4
ããç³»ç»ç¯å¢
ããç³»ç»ï¼Ubuntu. ä½ç³»ç»ã
ããæºç ï¼Android4.4æºç ã
ããéæ©Ubuntu.ï¼æ¯å 为å¨.ä¸æ²¡è½æè ¾æåï¼å¨ä¸é¢å ¼å®¹ä½ç¨åºçé ç½®æç¹ç¦ã.å¿ é¡»è¦ç¨ä½çï¼ç¼è¯Android4.4æ¶éè¦ä½ç¯å¢ï¼åæ¶è¦å ¼å®¹ä½ç¨åºï¼æè ¾ã
ããæ¥éª¤
ããé ç½®jdk6
ããAndroidå®æ¹ç»çæ¥éª¤æ¯ç¨OpenJdkï¼å®æµæ¯ä¸è¡çãç½ä¸æ¾å°/download.html
è¿ä¸ªç½åæéè¦çjdkï¼ä¸è½½èªè§£åå®è£ å ãèªè§£ååå¨å½åç®å½ä¸çæä¸ä¸ªjdkçç®å½ï¼æå¼/etc/environmentï¼å¢å èªå·±çjdk
binç®å½å°PATHéé¢ãåæ¶æ°å¢å¦ä¸ç¯å¢åéï¼
ããCLASSPATH=/path/to/your/local/jdk/dir/lib
JAVA_HOME=/path/to/your/local/jdk/dir
ããç¶åæ§è¡å¦ä¸å½ä»¤ï¼è®¾ç½®ç³»ç»çé»è®¤jdkï¼
ãã$ sudo update-alternatives --install /usr/bin/java java /usr/local/java/jdk1.6.0_/bin/java
$ sudo update-alternatives --install /usr/bin/javac javac /usr/local/java/jdk1.6.0_/bin/javac
$ sudo update-alternatives --install /usr/bin/javaws javaws /usr/local/java/jdk1.6.0_/bin/javaws
$ sudo update-alternatives --install /usr/bin/jar jar /usr/local/java/jdk1.6.0_/bin/jar
$ sudo update-alternatives --install /usr/bin/javap javap /usr/local/java/jdk1.6.0_/bin/javap
$ sudo update-alternatives --config java
ããå®è£ 软件å
è½è£ çé½è¦è£ ä¸ï¼ä»¥å ç¼è¯å¤±è´¥ï¼åè¦åè¿å¤´éè£ ï¼å¦ä¸ï¼
ãã$ sudo apt-get install build-essential make gcc g++ libc6-dev texinfo
libncurses-dev git-core gnupg flex bison zip curl ncurses-dev libsdl-dev
zlib1g-dev ia-libs libxml2-utils lzma
ããç¼è¯æºç
å°æºç ç®å½ä¸ï¼å¦ä¸ï¼
ãã$ source build/envsetup.sh
$ lunch
éæ©armå¹³å°ã
ãã$ make -jn
n为CPU个æ°ç两åï¼ä¸»è¦æ¯æé«ç¼è¯é度ã
ããå¯è½çé误
ããç¼è¯è¿ç¨ç¢°å°å¦ä¸é误ï¼
ããFile "/usr/lib/python2.7/subprocess.py",rbf控制源码 line , in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line , in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
ããä¸è¬æ åµæ¯å 为åé¢çjavap没æé ç½®æè´ãå¦æå¿ é¡»ç软件å 没æå®è£ ï¼ä¹ä¼æ类似çæ示ï¼ä»ç»åä¸ç¿»çé误æ示ï¼æ¾å°çæ£çé误å°æ¹ï¼å®è£ 对åºç软件å å³å¯ã