You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Android Studio Flamingo创建新项目后出现资源未调用close警告

问题

使用Android Studio Flamingo创建基于空Activity模板的新项目,运行应用后在Logcat中发现警告信息:A resource failed to call close,相关日志如下:

ProfileInstaller        com.hoan.baseapplication             D  Installing profile for com.hoan.baseapplication


System                  com.hoan.baseapplication             W  A resource failed to call close.

请问这是否属于Bug?

回答

这不属于你的应用代码Bug,是Android系统的ProfileInstaller组件在安装应用配置文件时,未正确关闭相关资源导致的系统级警告,不会影响应用的正常功能运行。

该警告是Android Studio Flamingo版本对应的系统组件已知的小问题,无需你进行额外修复操作,后续Google大概率会通过系统组件更新来解决这个问题。


内容的提问来源于stack exchange,提问作者Hoan Nguyen

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.19 13:07:00