Android Studio Emulator - Ubuntu 16.04 LTS

好久不见. 提交于 2019-12-11 06:33:26

问题


I am trying to start the emulator in Android Studio on Ubuntu, but it is not working. I am able to create a new device in the AVD-Manager, however nothing appears If I am trying to start it.

I am running Android Studio 2.3.1 on a Linux machine (Ubuntu 16.04 LTS) and I followed this guide:

https://github.com/uw-it-aca/spacescout-android/wiki/1.-Setting-Up-Android-Studio-on-Ubuntu#install-intels-kvm-for-better-avd-performance

My hardware configuration :

Maybe I must install my graphics driver correctly? I have an Nvidia GTX 580

However, I am stuck at point 8, because it says that I must do something in the emulator tab, but there is no emulator tab in android studio (Android Studio 2.3.1)... Sorry for my english


回答1:


I've faced the same problem when launching Android Studio with sudo command. In my case files for emulators were being created in root/.android/avd however, for reasons unknown to me, Android Studio was looking for them in home/.android/avd folder. Copying all files from one location to the other fixed it.



来源:https://stackoverflow.com/questions/43513175/android-studio-emulator-ubuntu-16-04-lts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!