android 4.0 (Ice Cream Sandwich) 已经开源


android 4.0 (Ice Cream Sandwich)的源码终于放出来了,下载地址:


http://source.android.com/source/downloading.html


下载完成后主要包含一下目录:

  1. abibionicbootablebuildctsdalvikdevelopmentdevicedocsexternalframeworkshardwarelibcoreMakefilendkoutpackagesprebuiltsdksystem

Android ICS 模拟器的编译

编译模拟器版本和以前方法一样:

  1. .build/envsetup.sh
  2. lunchsdk-eng
  3. make -j4

编译完成后工作目录($TOP)里增加了一个log文件 v8.log


Android ICS 模拟器的启动


  1. $cdout/host/linux-x86/sdk/android-sdk_eng.xxx_linux-x86/tools
  2. $./androidlisttargets
  3. AvailableAndroidtargets:
  4. ----------
  5. id:1or"android-14"
  6. Name:Android4.0
  7. Type:Platform
  8. APIlevel:14
  9. Revision:2
  10. Skins:QVGA,WSVGA,HVGA,WVGA854,WXGA720,WQVGA432,WVGA800(default),WQVGA400,WXGA800
  11. ABIs:armeabi-v7a
  12. $./androidcreateavd-t1-nics
  13. Auto-selectingsingleABIarmeabi-v7a
  14. Android4.0isabasicAndroidplatform.
  15. Doyouwishtocreateacustomhardwareprofile[no]
  16. CreatedAVD'ics'basedonAndroid4.0,ARM(armeabi-v7a)processor,
  17. withthefollowinghardwareconfig:
  18. hw.lcd.density=240
  19. vm.heapSize=24
  20. hw.ramSize=512
  21. $./emulator-avdics
。。。。。。。。。。。。。。。。。。

你可能感兴趣的:(android 4.0)