Hello Anatoly,

emulator binaries in AOSP prebuilts dir are broken for quite some time. We 
are in the process of testing the fresh emulator binaries built from the 
tip of the tree emu-master-dev branch for all architectures.
The fresh prebuilts should appear on Gerrit soon, hopefully by the end of 
this week. You should occasionally check 
https://android-review.googlesource.com/#/q/project:platform/prebuilts/android-emulator
 
.

As a workaround, you could build the emulator binaries yourself :

========================================================
Rebuild emulators from scratch
========================================================

mkdir <EMU_MASTER_DEV>
cd <EMU_MASTER_DEV>
repo init -u https://android.googlesource.com/platform/manifest 
<https://emailus.imgtec.com/owa/redir.aspx?SURL=i7ncuJHBEcXo8GgBxXF2-C2U05Ok9dTbLb_yrBbnXcSK-S9_MeHTCGgAdAB0AHAAcwA6AC8ALwBhAG4AZAByAG8AaQBkAC4AZwBvAG8AZwBsAGUAcwBvAHUAcgBjAGUALgBjAG8AbQAvAHAAbABhAHQAZgBvAHIAbQAvAG0AYQBuAGkAZgBlAHMAdAA.&URL=https%3a%2f%2fandroid.googlesource.com%2fplatform%2fmanifest>
 
-b emu-master-dev
repo sync

# Building the emulators from scratch
cd external/qemu
./android-rebuild.sh

# The binaries are located in external/qemu/objs

========================================================
Lunching the emulator
========================================================

# Setup AOSP environment variables which will help the emulator to pick up 
appropriate images from the build.
# You stick to using this terminal when running the emulator
cd <AOSP>
source build/envsetup.sh
lunch aosp_X-eng

cd <EMU_MASTER_DEV>/external/qemu
./objs/emulator -show-kernel -gpu on

Kind regards,
Miodrag

On Sunday, September 18, 2016 at 10:51:28 PM UTC+2, Anatoly Korniltsev 
wrote:
>
> I've built aosp_x86-eng from master branch, when I run emulator it works 
> fine except adb devices always lists the emulator as offline.
>
> Does anyone know the reason/solution?
> Thanks.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to