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