Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #18 fix patch: Remove pre-installed x86_64 emulator. Explain how to create and launch an ARM emulator #20

Merged
merged 3 commits into from
Oct 13, 2018

Conversation

ozmium
Copy link
Contributor

@ozmium ozmium commented Oct 9, 2018

Fix issue #18

  • Remove pre-installed x86_64 emulator system image, as it cannot run in the Docker image.
  • In Readme.md, explain how to create and launch an ARM emulator in the Docker image. Mention that x86_64 emulators do not currently work.

ozmium added 3 commits October 9, 2018 20:24
Do not install the x86_64 emulator system image file, as it cannot run in the Docker image.

Example:

# Create an x86 emulator
echo "no" | $ANDROID_HOME/tools/bin/avdmanager create avd \
    -n Android_7.1_API_25 \
    -k "system-images;android-25;google_apis;x86_64" \
    -c 100M \
    --abi google_apis/x86_64 \
    --force

# Try to launch the emulator
$ANDROID_HOME/tools/emulator -avd Android_7.1_API_25 &

# You will get this error: "ERROR: 32-bit Linux Android emulator binaries are DEPRECATED..."
# Or this error: "ERROR: ./android/qt/qt_setup.cpp:28:Qt library not found at ../emulator/lib/qt/lib"

# Try to launch the emulator with alternate binary
$ANDROID_HOME/emulator/emulator -use-system-libs -avd Android_7.1_API_25 -no-skin -no-audio -no-window -force-32-bit &

# You will get this error: "emulator: ERROR: x86_64 emulation currently requires hardware acceleration! Please ensure KVM is properly installed and usable..."

More info in ticket mingchen#18.
Add instructions on how to create and launch an ARM emulator in the Docker image. Mention that x86_64 emulators do not work currently.
Clarify things in the bash script that creates and launches an emulator. Add some extra web links.
@mingchen mingchen merged commit 6bf8482 into mingchen:master Oct 13, 2018
@ozmium ozmium deleted the patch-1 branch July 5, 2020 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants