Android Studio模拟器-Ubuntu 16.04 LTS [英] Android Studio Emulator - Ubuntu 16.04 LTS
问题描述
我正在尝试在Ubuntu上的Android Studio中启动模拟器,但是 它不起作用.我可以在AVD管理器中创建新设备, 但是如果我尝试启动它,什么也没出现.
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.
我正在Linux机器(Ubuntu 16.04 LTS)上运行Android Studio 2.3.1,并且遵循了本指南:
I am running Android Studio 2.3.1 on a Linux machine (Ubuntu 16.04 LTS) and I followed this guide:
也许我必须正确安装图形驱动程序?我有Nvidia GTX 580
Maybe I must install my graphics driver correctly? I have an Nvidia GTX 580
但是,我停留在第8点,因为它说我必须在模拟器"选项卡中做一些事情,但是android studio(Android Studio 2.3.1)中没有模拟器选项卡...对不起,我的英语>
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
推荐答案
使用sudo命令启动Android Studio时遇到了同样的问题.在我的情况下,用于仿真器的文件是在 root/.android/avd 中创建的,但是由于我不知道的原因,Android Studio会在 home/.android/avd 文件夹.将所有文件从一个位置复制到另一个位置可以解决此问题.
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.
这篇关于Android Studio模拟器-Ubuntu 16.04 LTS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!