1.最近android4.3的码网源代码,可是找不到kernel那部分代码在什么目录下?
2.å¦ä½ç¨ubuntu 12.04 32bit ç¼è¯android 4.4.4
最近android4.3的源代码,可是找不到kernel那部分代码在什么目录下?
你从哪里怎么下载的?
注意android4.3有两种源代码:
android_sdk中附带的android API源代码
和android系统源代码(这个源代码超级巨大,目前已知最可靠的码网学生选课jsp源码方案是使用linux从Google服务器用特殊软件下载源代码……)
å¦ä½ç¨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", 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没æé ç½®æè´ãå¦æå¿ é¡»ç软件å 没æå®è£ ï¼ä¹ä¼æ类似çæ示ï¼ä»ç»åä¸ç¿»çé误æ示ï¼æ¾å°çæ£çé误å°æ¹ï¼å®è£ 对åºç软件å å³å¯ã