Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emulator-headless not found

Hi I had a build script on travis that would install the android-sdk and launch an emulator in headless mode, it worked fine until a day ago when suddenly I get an error

bash: /home/travis/android-sdk/emulator/emulator-headless: No such file or directory

here is the build script, any ideas as to why emulator-headless disappeared?

https://gist.github.com/mandelmonkey/941ef6e64b0d83a1b7dc8e17848b70a8

like image 275
MandelDuck Avatar asked Dec 05 '19 10:12

MandelDuck


People also ask

What happened to emulator-headless?

As of 29.2.11, you need to use the -no-window option instead of the emulator-headless binary: The binary emulator-headless is now retired. Headless builds of the engine are now launched via emulator -no-window, thus unifying the previously separate (but similar) paths.

How do I troubleshoot unauthorized emulators?

If you are experiencing problems with "unauthorized" emulators, do the following troubleshooting steps: Exit all emulators. Delete both the ~/.android/adbkey and ~/.android/adbkey.pub files. Run the following command: adb kill-server Run the following command: adb devices Wipe the AVD data. Relaunch the emulator.

What's new in the Android emulator for Linux?

The Linux version of the Android Emulator is now built using a modern Clang C++ toolchain. This change fixes the issue of the emulator failing to start due to libGL and libstdc++ errors. Fixed several causes of crashes and hangs.

Why is my Emulator unable to start?

If the emulator is unable to start due to insufficient free RAM, an error message is now displayed. If you are on Windows and notice that there is RAM free, but you are still unable to start the emulator, the commit charge may have been exceeded. For help with this issue, see the emulator Troubleshooting page.


1 Answers

Since Emulator v29.2.11, emulator-headless is no longer present as a separate binary, but it has been merged to emulator -no-window.

https://androidstudio.googleblog.com/2019/12/emulator-29211-and-amd-hypervisor-12-to.html

like image 194
novembre Avatar answered Sep 28 '22 06:09

novembre