android 4.0 (Ice Cream Sandwich)的源码终于放出来了,下载地址:
http://source.android.com/source/downloading.html
下载完成后主要包含一下目录:
- abibionicbootablebuildctsdalvikdevelopmentdevicedocsexternalframeworkshardwarelibcoreMakefilendkoutpackagesprebuiltsdksystem
Android ICS 模拟器的编译
编译模拟器版本和以前方法一样:
- .build/envsetup.sh
- lunchsdk-eng
- make -j4
编译完成后工作目录($TOP)里增加了一个log文件 v8.log
Android ICS 模拟器的启动
- $cdout/host/linux-x86/sdk/android-sdk_eng.xxx_linux-x86/tools
- $./androidlisttargets
- AvailableAndroidtargets:
- ----------
- id:1or"android-14"
- Name:Android4.0
- Type:Platform
- APIlevel:14
- Revision:2
- Skins:QVGA,WSVGA,HVGA,WVGA854,WXGA720,WQVGA432,WVGA800(default),WQVGA400,WXGA800
- ABIs:armeabi-v7a
- $./androidcreateavd-t1-nics
- Auto-selectingsingleABIarmeabi-v7a
- Android4.0isabasicAndroidplatform.
- Doyouwishtocreateacustomhardwareprofile[no]
- CreatedAVD'ics'basedonAndroid4.0,ARM(armeabi-v7a)processor,
- withthefollowinghardwareconfig:
- hw.lcd.density=240
- vm.heapSize=24
- hw.ramSize=512
- $./emulator-avdics