android studio2.2.3でエミュレータを立ち上げたいのですが、
01/07 07:19:43: Launching app
Error while waiting for device: The emulator process for AVD Nexus_5_API_23 was killed.
というエラーが出て立ち上がりません。以下ログです。
/home/xxx/dev/android/tools/emulator -netdelay none -netspeed full -avd Nexus_5_API_23
sh: 1: glxinfo: not found
sh: 1: glxinfo: not found
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 33
Current serial number in output stream: 34
QObject::~QObject: Timers cannot be stopped from another thread
環境はubuntu16.04で、kvmをこちらのサイトを見て
$ sudo apt-get install kvm virt-manager libvirt-bin bridge-utils
$ echo vhost_net | sudo tee -a /etc/modules
$ sudo service libvirt-bin start
$ sudo update-rc.d libvirt-bin defaults
この方法で入れてみたのですが、3行目のコマンドを実行すると
Failed to start libvirt--bin.service: Unit libvirt--bin.service not found.
と表示されました。これが原因なのでしょうか?kvm-okコマンド実行すると、
INFO: /dev/kvm exists
KVM acceleration can be used
と表示されます。android studio自体はumakeを使って入れました。
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。