Historically, you should use to use generic_x86 for eclair-x86 to ics-x86 branches. They are the universal targets for all x86 devices. Unless you are trying to build an ancient branch, you should just use android_x86_64 for a 64-bit target, or android_x86 for a 32-bit target.
generic_x86: for generic x86 PC/notebook.We provides several targets for different branches: You need to choose a target for the x86 device you want to use/test. Since gingerbread-x86, a 64-bit build environment is recommended. Note: Before froyo-x86 (included), you can build on either a 32-bit or 64-bit host. Since nougat-x86, OpenJDK 1.8 is required. Since lollipop-x86, java 1.7 is required and OpenJDK is supported. You need Oracle java 1.6 (OpenJDK may not work) to build branches before (includes) kitkat-x86. Once repo sync is complete, you can build a cdrom iso image. Repo init -u git:///gitroot/android-x86/manifest -m cm.xml -b $branchĬurrently the LineageOS porting is only available in nougat-x86 (cm 14.1) and marshmallow-x86 (cm 13.0) branches.
For Ubuntu 18.04, install the following required packages: Since AOSP evolves very quickly, we have created different branches corresponding to different releases of AOSP:īased on Android 7.1 release (Nougat MR2)īased on Android 6.0 release (Marshmallow)īased on Android 4.3 release (Jelly Bean)īased on Android 4.0 release (Ice Cream Sandwich)īased on Android 2.3 release (Gingerbread)įirstly, refer to the AOSP page "Establishing a Build Environment" to configure your build environment. The built image should run well on real x86 devices as well as virtual machines (like qemu or virtual box). It is easy to compile Android for x86 platform from our git repositories.
This page describes the latest information about how to build Android for x86 platform.