Compile CM2.3generic version on Ubuntu, mainly refer to the official documentation: http://wiki.cyanogenmod.com/wiki/Android_SDK_Emulator:_Compile_CyanogenMod_ (Linux) problems encountered in the compilation process are: 1) CheckingAPI: checkapi-lastCheckingAPI: checkapi-current (unknow
Compile CM2.3 generic version on Ubuntu, mainly refer to the official documentation: http://wiki.cyanogenmod.com/wiki/Android_SDK_Emulator:_Compile_CyanogenMod_ (Linux)
Problems encountered during compilation include:
1) Checking API: checkapi-last
Checking API: checkapi-current
(Unknown): error 13: Class Android. app. Profile changed final qualifier
.....
******************************
You have tried to change the API from what has been previusly approved.
To make these errors go away, you have two choices:
1) You can add "@ hide" javadoc comments to the methods, etc. listed in
Errors abve.
2) You can update current. xml by executing the following command:
Make update-api
To submit the revised current. xml to the main Android repository,
You will need approval.
******************************
Make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] Error 38
Solution: Execute make update-api and then compile it.
2) The compiled image runs on a black screen on the simulator of the official SDK without any display.
Solution: run the official simulator directly and use the emulator-verbose command to check whether the simulator is a black screen.
Follow the official document Create a folder called android-10-cyanogen on Your/Android-SDK/platforms/to Create
In Vitual device, whether the first 2.3.3 or the second 2.3.3 is selected, the CM image in android-10-cyanogen is called,
Modify Platform. Version = 2.3.7 In source. properties to distinguish between the original and CM images.
Then run the original system image of the official simulator. Therefore, the system image is compiled by CM.
Emulator-verbose-show-kernel @ cm2.3
Running error: kernel panic-not syncing: attempted to kill init. No display is displayed on the black screen.
Find the Linux kernel image kernel kernel-qemu-armv7 of armv7 in CM source code, copy it to the corresponding sdk directory, and execute again
Emulator-verbose-show-kernel @ cm2.3-kernel kernel-qemu-armv7,
The ROM compiled by CM source code is successfully run on the simulator.