I was working very hard to create my first Android application I downloaded Android Studio and started my experiments willing to deliver my application to the end-users as fast as it could be possibly done.
At the very beginning, everything went smoothly I downloaded Android Studio for my 64bit Ubuntu Linux and installed it. I played around with Android Studio (the latest available version) and it was unexpected how easy it is to develop the “hello world” application.
When my application was ready I understood that I need to deploy and run it somewhere. The best choice appeared to be Android Emulator which is software that can emulate mobile phones on your computer – different vendor different size different Android versions supporting mobile phones.
The basic idea is simple you run your application and Android Studio starts Android Emulator which presents your mobile application in a virtual mobile device on your computer screen.
And here it started again. Due to some reasons right after “G” letter appears on the screen of the virtual mobile phone virtual device disappears and you see the message in your Android Studio – the process was killed.
I had to use a search engine to find the cause for the error. I tried to start Android Emulator from the command line outside Android Studio. In case started from the command line Android Emulator failed with another error – segmentation fault.
After some time finally, I found that the reason for this error is that on my computer the Ubuntu 64bit Linux is running with graphical drivers from Canonical for Nvidia graphics card. When I installed the proprietary driver from Nvidia Android Emulator started to work.
Thank you search engine!
Android Studio:
| https://developer.android.com/studio |
Android Emulator:
| https://developer.android.com/studio/run/emulator |