java - Android Studio 显示错误加载 : id=gralloc ! = hmi->id=gralloc

标签 java android android-studio

即使是空项目,我的 IDE 也会向我显示错误。如您所见,我创建了一个包含空 Activity 的新项目。应用程序在移动设备上成功启动并且运行良好。但是 logcat 无法正常工作,或者我遇到的任何其他问题都可以帮助我。当我连接我的手机时,即使我没有构建项目,logcat 也充满了指令/日志。

enter image description here

enter image description here

最佳答案

更新:

首先,gralloc 代表低级图形缓冲区分配器

The gralloc is part of the HAL (Hardware Abstraction Layer) which means that the implementation is platform-specific. You can find the interface definitions in hardware/libhardware/include/hardware/gralloc.h. As expected from a HAL component, the interface is divided into a module interface (gralloc_module_t) and a device interface (alloc_device_t).

错误级别很低,与 OpenGLRenderer 相关。您的设备正在尝试打开一些 64 位库文件,但如果失败。然后就报错了。

我对此进行了非常深入的搜索,但没有找到任何有用的信息。

尝试在另一台设备上运行应用程序,发现错误再次出现。

如果错误没有导致崩溃或其他重要问题,则继续开发。如果找到解决方案,您将重试。

关于java - Android Studio 显示错误加载 : id=gralloc ! = hmi->id=gralloc,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46510718/

相关文章:

java - pyspark:从 pyspark 调用自定义 java 函数。我需要 Java_Gateway 吗?

java - Maven 没有在 Eclipse 中下载依赖项

java - 当关闭相关(相同)entityManager 时,entityManager 先前找到或获取的实体怎么样?

java - Firebase用户数据存储问题

android - 如何在Android上实现网站过滤器?

java - JDBC 中大型 IN 子句的替代方案,如何使用 Java 中的表值参数?

android - EditText Drawable Tint 不可能?

java - 使用JvmSynthetic setter进行模棱两可的方法调用

android-studio - 如何在首次运行的Android Studio中禁用下载组件

java - Android Q(API 级别 29)不加载 HTTPS 网站。给出错误:(net::ERR_ACCESS_DENIED)