Compile Android cupcake Core

Source: Internet
Author: User

Cupcake supports multiple languages and provides the softkeyboard function. As a time-cutting engineering engineer, how can we not build one by ourselves for fun.

Environment Ubuntu 8.10x86 32bit. If you are a Windows user, you can directly use virtualbox to upload VMS.


  • Step 3:
    Related tools:
    Run the following command to install the required tools.
    $ Sudo apt-Get install Git-core GnuPG sun-java6-jdk flex bison gperf
    Libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zipcurl
    Libncurses5-dev zlib1g-dev
  • Get repo:
    $ Curl http://android.git.kernel.org/repo> ~ /Bin/Repo
    $ Chmod A + x ~ /Bin/Repo
    I usually move the repo to/bin/repo to facilitate future work.
  • Obtain Source
    Create a project for source code first
    $ Mkdir android
    $ CD android
  • Perform repo initialization under the created object, specifying that you want to obtain the cupcake
    $ Repo init-u git: // android.git.kernel.org/platform/manifest.git-B cupcake

    The following response message is displayed after successful logon.
    Repo initialized in/mydroid

    Next, the zookeeper synchronization program will be released.
    $ Repo sync

    This job is very rare and often produces a license. I suggest making a cup of coffee, watching a movie, and then coming back. I can also stop using Ctrl-C in the middle, and then slowly complete the process.
    Wait for the completed response. The complete source is displayed in the android project.

  • Source
    It won't work.
    $ Make

    After an endless wait, it will be in ~ /Android/out/target/product/generic: ramdisk. IMG, system. IMG, userdata. IMG, you can just pull to the die generator and then try again. If you are a friend with strong power, you can also directly brush ADP.

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.