-
Notifications
You must be signed in to change notification settings - Fork 15
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
Emulator stops after couple of minutes with segmentation fault (core dump) #3
Comments
I'm not sure I've seen this error before. Do you see something on the emulator or does it show a black screen and then crash? When you start the emulator does it report warnings or errors on the terminal? Are you using an Ubuntu virtual machine or a physical machine? My guess is that there might be issues with kvm or libvrt. I've always worked on Ubuntu. I've never tried running the emulator on macOS. Thanks! |
The emulator shows a black screen and then crash. Sometime emulator shows the launcher briefly and then crash. I have tried Ubuntu virtual + physical machine and macOS physical machine. I have enabled virtualization and kvm, without enabling kvm, the emulator couldn't be started at all, even Android Studio generated emulator. Emulator reports warning and error on the terminal. Which warning/error messages would be more helpful, physical/virtual Ubuntu? Asking because I can try to get you the error messages from same configured machine that you have. Thanks! |
One important observation, I was never able to run emulator by this command set,
When I execute the command, I know you have already built Android in
Now the emulator attempts to start but crashes with a black screen as I mentioned. Assuming executing build command again won't cause any issues, is this a valid assumption? |
Thanks for the information. I've only used a physical machine. In the past someone tried to run the Android emulator on a VM and switching to a physical machine solved some issues. I recommend using a physical machine first, if it is possibile. Regarding the black screen, were you able to boot and use one of the emulators generated with Android Studio? See this link for example. Try to double check that your user is in the groups kvm and libvrt. The warnings / errors I'm referring to are the ones reported on the terminal when you launch the command Regarding the compilation issue, after running Thanks! |
I have resumed the experiment and using physical machine. Yes I can boot and run emulator using Android Studio. My user is in both Yes, I have been able to boot the emulator with following command, Thanks! |
I use a Debian physical machine and I used |
I have used a fresh install of Ubuntu 18.04 and and followed the procedure mentioned in readme. When I execute
emulator -writable-system
, the emulator gets started but stops with Segmentation fault.I have also tried with macOS but it didn't help. Have you faced any similar issue? If yes, how do you resolve this?
Thanks in advance.
The text was updated successfully, but these errors were encountered: