Seandroid acquisition and compilation process

Source: Internet
Author: User

For seandroid study and research just beginning, still do not know what is real seandroid, so also dare not to judge, and so on after studying to talk about seandroid, for her study I was first from the compilation, the following is my acquisition and compilation process. Compiled from start to finish almost 17, 8 hours, because there was an error in the middle, corrected and then recompiled.

In a 64-bit Ubuntu system, the process of compiling seandroid

1: Install OpenJDK 1.7.x

2:http://seandroid.bitbucket.org/official website

git clone https://bitbucket.org/seandroid/manifests.gitmkdir seandroid-5.1.0cd seandroid-5.1.0repo init -u https://android.googlesource.com/platform/manifest -b android-5.1.0.repocp ../manifests/seandroid-5.1.0.xml.repo/local_manifests repo sync

3: Install the required libraries

git gnupg flex bison gperf build-essential   zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev   libx11-dev:i386 libreadline6-dev:i386 g++-multilib mingw32 tofrodos   python-markdown libxml2-utils xsltproc zlib1g-dev:i386

4:building for the Emulator

//PREFIX是源码根目录export PREFIX=/path/to/your/aospclonecd$PREFIXsource build/envsetup.shlunch aosp_arm-engmake

5: After the compilation is complete, locate emulator and configure export in ~/.BASHRC

export  android_product_ Out_bin  =/home/embedded  /seandroid/seandroid -5.1 . 0 /prebuilts/android-emulator/linux-x86_64export  Android_product_out  =/home/embedded  /seandroid /seandroid -5.1 . 0 /out/target/product/genericexport PATH  =< Span class= "hljs-variable" >${ path }:  Span class= "hljs-variable" >${ android_product_out_bin } :  ${ android_product_out }; 

6: After the configuration is complete, source ~/.BASHRC

7: Running the virtual machine

-qemu-append androidboot.selinux=permissive

Seandroid acquisition and compilation process

Related Article

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.