簡體   English   中英

我正在使用Ubuntu 17.04,當我嘗試安裝android studio並運行我的虛擬設備時,它會出現這些錯誤

[英]I'm using Ubuntu 17.04 and when i try to install android studio and run my virtual device it give these errors

任何人都可以幫忙嗎? 我不能在Ubuntu上運行這個Android虛擬設備嗎?

2:24 PM Executing tasks: [:app:assembleDebug]

2:24 PM Emulator: libGL error: unable to load driver: i965_dri.so

2:24 PM Emulator: libGL error: driver pointer missing

2:24 PM Emulator: libGL error: failed to load driver: i965

2:24 PM Emulator: libGL error: unable to load driver: i965_dri.so

2:24 PM Emulator: libGL error: driver pointer missing

2:24 PM Emulator: libGL error: failed to load driver: i965

2:24 PM Emulator: libGL error: unable to load driver: swrast_dri.so

2:24 PM Emulator: libGL error: failed to load driver: swrast

2:24 PM Emulator: X Error of failed request:  BadValue (integer parameter out of range for operation)

2:24 PM Emulator: Major opcode of failed request:  155 (GLX)

2:24 PM Emulator: Minor opcode of failed request:  24 (X_GLXCreateNewContext)

2:24 PM Emulator: Value in failed request:  0x0

2:24 PM Emulator: Serial number of failed request:  39

2:24 PM Emulator: Current serial number in output stream:  40

2:24 PM Emulator: Process finished with exit code 1

2:24 PM Gradle build finished in 5s 92ms

以下是解決模擬器問題時需要遵循的確切步驟:

1)更改目錄:

$ cd ~/Android/Sdk/emulator/lib64/libstdc++

2)創建到庫的符號鏈接:

$ mv libstdc++.so.6 libstdc++.so.6.bak

3)在同一目錄上:

$ ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6

那應該解決它!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM