Skip to content

Problems with the emulator across platforms? #467

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

Closed
codeanticode opened this issue Jun 19, 2018 · 7 comments
Closed

Problems with the emulator across platforms? #467

codeanticode opened this issue Jun 19, 2018 · 7 comments

Comments

@codeanticode
Copy link
Contributor

Testing the emulator with the latest release (4.0.2) and also the previous one, it seems that the emulator hangs during startup on Linux, Windows, and Mac. Need to do further testing.

@q2dg
Copy link

q2dg commented Jun 26, 2018

If it helps, I offer myself as a tester.

I use Processing Android 4.0.2 in Fedora 28 x86-64 with Android SDK installed by default options (that is, I haven't touched anything by hand; everything has installed through popups offered by Processing). My problem is "Lost connection with emulator while launching. Try again". I'm using x86 emulator instead of ARM's one.

@codeanticode
Copy link
Contributor Author

@q2dg Thanks a lot! Yes, need to look into that "Lost connection" error, I have seen it popping up from time to time.

@codeanticode
Copy link
Contributor Author

The situation might not be as hopeless as I originally thought. Tested the emulator on Mac, Windows, and Linux using the most recent versions of Processing and the Android mode (3.5.3 and 4.0.4, respectively) and I was able to install and the sketch in the emulator on the first two. Installation fails on Linux with the following error:

Emulator process exited with status 1.
EmulatorController: Emulator never booted. NOT_RUNNING
Error while starting the emulator. (NOT_RUNNING)

@codeanticode
Copy link
Contributor Author

Tested emulator with latest version of the mode, 4.2.1. It works on Linux (Ubuntu 20.04) and macOS Catalina (although HAXM authorization fails in the latter). It doesn't work on Windows 10 (with the error EmulatorController: Emulator never booted. NOT_RUNNING, Error while starting the emulator. (NOT_RUNNING))

@BUZDOLAPCI
Copy link

Tested emulator with latest version of the mode, 4.2.1. It works on Linux (Ubuntu 20.04) and macOS Catalina (although HAXM authorization fails in the latter). It doesn't work on Windows 10 (with the error EmulatorController: Emulator never booted. NOT_RUNNING, Error while starting the emulator. (NOT_RUNNING))

Running Processing with Admin rights seems to fix this issue for me, not sure if it's the same case with you.

@codeanticode
Copy link
Contributor Author

Ok, thanks for the info. I'd say that running as admin could be useful as a workaround, but the emulator should run without requiring it :-)

@codeanticode
Copy link
Contributor Author

Using the --skin argument (806def2) and with recent device art pulled from Android Studio (e254f20, 2ad6507) seems to solve most of the issues with the emulator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants