Fixed
Status Update
Comments
uc...@google.com <uc...@google.com> #2
Thank you for this feedback. The team may reach out for more information on triaging or reproducing this issue.
hu...@google.com <hu...@google.com>
ja...@google.com <ja...@google.com> #3
All our linux executable are compiled for 64 bit (at least for Android emulator version 26.0.0.0), so this all whole -force-32bit makes little sense.
We can remove all these code paths.
A similar issue is the mksdcard problem b/37132646
We can remove all these code paths.
A similar issue is the mksdcard problem
ja...@google.com <ja...@google.com> #4
Change which disables 32-bit: c5a2d4198cb4db20d9975261104cb5825c8b9e98
ap...@google.com <ap...@google.com> #5
Project: platform/external/qemu
Branch: emu-master-dev
commit 3937ba6c1f2ca30237c84988d13cb03863b30df7
Author: Erwin Jansen <jansene@google.com>
Date: Fri Jun 30 10:55:05 2017
Disable -force-32bit in linux.
- We only compile for 64 bit.
- Force all detection variables to 64 bit. ( b/37392941 )
Change-Id: Ic72674e527c4d3f90c95fe8ec23ebdcae003d6f3
M android/android-emu/android/cmdline-options.h
M android/android-emu/android/help.c
M android/emulator/main-emulator.cpp
https://android-review.googlesource.com/427980
https://goto.google.com/android-sha1/3937ba6c1f2ca30237c84988d13cb03863b30df7
Branch: emu-master-dev
commit 3937ba6c1f2ca30237c84988d13cb03863b30df7
Author: Erwin Jansen <jansene@google.com>
Date: Fri Jun 30 10:55:05 2017
Disable -force-32bit in linux.
- We only compile for 64 bit.
- Force all detection variables to 64 bit. (
Change-Id: Ic72674e527c4d3f90c95fe8ec23ebdcae003d6f3
M android/android-emu/android/cmdline-options.h
M android/android-emu/android/help.c
M android/emulator/main-emulator.cpp
Description
My system runs 64-bit and in fact emulator64 runs just fine (but the command line is ugly):
LD_LIBRARY_PATH="${ANDROID_HOME?}/emulator/lib64/qt/lib" \
"${ANDROID_HOME?}/emulator/emulator64-arm" \
-avd test -no-window -no-audio
Is it possible to fix the heuristic or provide an option to override towards 64bit rather than 32bit (-force-32bit)?
Trying -force-32bit doesn't help:
root@33861b63b8db:/opt/android-sdk-linux# tools/emulator -force-32bit -avd test -no-window
PANIC: Missing emulator engine program for 'arm' CPU.
Here's the output of "file $SHELL":
root@33861b63b8db:/opt/android-sdk-linux# file $SHELL
/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=1038e837cd34f24262050f0f4afb8a1fa66b32a3, stripped
Error message:
root@33861b63b8db:/opt/android-sdk-linux# tools/emulator
ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them
you will have to do at least one of the following:
- Use the '-force-32bit' option when invoking 'emulator'.
- Set ANDROID_EMULATOR_FORCE_32BIT to 'true' in your environment.
Either one will allow you to use the 32-bit binaries, but please be
aware that these will disappear in a future Android SDK release.
Consider moving to a 64-bit Linux system before that happens.