0

AVD Manager from the most recent Android SDK can create an AVD for the emulator using a 7.1.1 / Nougat / API Level 25 x86 system image.

My immediate goal is to build this system image myself.

I have tried installing and building several AOSP tags, but each produces an image that only works with the goldfish (3.4.x) kernel, which is not compatible with the latest emulator.

For example, I used repo to obtain the latest (?) tagged 7.x system from "refs/tags/android-7.1.2_r39".

Then:

  1. source build/envsetup.sh
  2. lunch aosp_x86-userdebug
  3. make

(I actually needed "export LC_ALL=C" and "export LANG=C", too.)

The resulting system can be run with the prebuilt emulator, which uses by default the prebuilt goldfish kernel.

It does not work with the latest sdk emulator or using the "-ranchu" flag on any emulator.

I gather that goldfish is the default for x86 architectures but don't know where to override this decision.

Any advice greatly appreciated!

Tyler Daniel
  • 586
  • 4
  • 13

0 Answers0