使用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
相关产品推荐
相关产品推荐

