Compile CyanogenMod2.3generic on Ubuntu

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.