linux - 编译 AOSP,模拟器无法创建可绘制对象,无法使 gles 2.x 上下文成为当前上下文! Ubuntu 16.04

标签 linux android-emulator ubuntu-16.04 android-source

使用 lunch aosp_arm-eng 命令编译 AOSP 后 emulator 运行失败 下面是 $ emulator 的输出

无法 statvfs() 路径:没有那个文件或目录

模拟器:警告:加密已关闭

创建drawable失败

创建drawable失败

创建drawable失败

创建drawable失败

创建drawable失败

创建drawable失败

创建drawable失败

创建drawable失败

getGLES2ExtensionString:无法使 GLES 2.x 上下文成为当前上下文!

最佳答案

  1. 尝试将模拟图形更改为软件Emulator configuration

  2. 尝试使用参数 -gpu off 手动启动模拟器:
    ~/.android/avd/emulator -netdelay none -n​​etspeed full -gpu off -no-snapstorage -avd Nexus_5X_API_28
    Nexus_5X_API_28 是您的模拟器的名称。

关于linux - 编译 AOSP,模拟器无法创建可绘制对象,无法使 gles 2.x 上下文成为当前上下文! Ubuntu 16.04,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52510091/

相关文章:

linux - 基于列连接两个 csv 文件

eclipse - Android 模拟器无法启动,因为文件夹错误

node.js - 吉普错误!堆栈错误 : EACCES: permission denied, mkdir '/var/www/project_name/node_modules/node-sass/build'

compiler-errors - 在 ubuntu 16.04 上编译 opencv 3 链接错误 :/usr/lib/x86_64-linux-gnu/libsoxr. so.0: undefined reference to `GOMP_parallel@GOMP_4.0'

linux - 为 ARM 交叉编译 util-linux,libtool/ld 没有从 LDFLAGS 路径获取库

linux - 什么系统调用用于在 Linux 中复制文件

android-studio - qemu-system-x86_64.exe' : Invalid argument 3:06 PM Emulator: Process finished with exit code 22

linux - rc.local 内容在启动时不运行

c++ - 在 linux 中使用 QXmlDefaultHandler 编译错误 c++

android - Android SDK 中的代理设置