gpt4 book ai didi

android - 我正在使用 Ubuntu 17.04,当我尝试安装 android studio 并运行我的虚拟设备时,它会出现这些错误

转载 作者:可可西里 更新时间:2023-11-01 18:52:18 28 4
gpt4 key购买 nike

有人可以帮忙吗?我不能在 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) 创建库的符号链接(symbolic link):

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

3)在同一个目录下:

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

这应该可以解决问题!

关于android - 我正在使用 Ubuntu 17.04,当我尝试安装 android studio 并运行我的虚拟设备时,它会出现这些错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46988020/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com