Copy the compiled android4.0 source code package to implement emulator.
09:45:24 | category:
Default category | font size subscription
After the download is complete, it mainly includes the following directories:
- Abi bionic bootable build CTS Dalvik development device docs external frameworks hardware libcore makefile ndk out packages prebuilt SDK System
Compilation of Android ICS Simulators
The compiling Simulator version is the same as the previous method:
- . Build/envsetup. Sh
- Lunch SDK-Eng
- Make SDK-J2
After compilation, a log file v8.log is added to the working directory ($ top ).
Intermediate problems:
Collect2: LD returned 1 exit status
Make: *** [out/target/product/generic/obj/shared_libraries/libm_intermediates/linked/libm. So] Error 1
Make: *** waiting for unfinished task ....
Search post: http://code.google.com/p/android/issues/detail? Id = 2031 # C0
It is said that the virtual hard disk is not big enough:
Resolved. in VMware this was due to running out of disk space, and using a pre-built VMware image. to fix, create a new VMware image and set the disk space to be 12g or so. also set the VMware Virtual Memory up to about 2g or more. increase hard disk space
Android ICS simulator startup
The old one:
- $ CD out/host/linux-x86/sdks/android-sdk_eng.xxx_linux-x86/tools
- $./Android list targets
- Available Android targets:
- ----------
- ID: 1 or "Android-14"
- Name: IOS 4.0
- Type: Platform
- API level: 14
- Revision: 2
- Skins: qvga, wsvga, hvga, wvga854, wxga720, wqvga432, wvga800 (default), wqvga400, wxga800
- Abis: armeabi-v7a
- $./Android create AVD-T 1-n ics // t indicates the version number of the created simulator, and N indicates the name of the simulator.
- Auto-selecting single Abi armeabi-v7a
- The android 4.0 is a basic Android platform.
- Do you wish to create a custom hardware profile [No]
- Created AVD 'ics 'based on Android 4.0, arm (armeabi-v7a) processor,
- With the following hardware config:
- HW. LCD. density = 240
- VM. heapsize = 24
- HW. ramsize = 512
- $./Emulator-AVD ICs
So emulator got up:
From: http://qq530694013.blog.163.com/blog/static/2151230462012112632920527/