缺少android.util.Log类文件 [英] Missing android.util.Log class file
本文介绍了缺少android.util.Log类文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我安装了最新版本的Android SDK,但是当我尝试import android.util.Log
时,我发现该类不存在.我没什么主意对不起,我的英语不好.
I installed the latest version of Android SDK but when I try import android.util.Log
I see that this class is nonexistent. I don't have any ideas. Sorry for my bad English.
推荐答案
是的!麻烦解决了!一切都很简单.
Yes! Trouble is solved! Everything was very simple.
逐步:
- 打开
Auto Import
设置 - 关闭
Optimize imports on the fly
- 删除
Exclude list
中的类
- Open
Auto Import
settings - Switch off
Optimize imports on the fly
- Remove class in
Exclude list
屏幕截图:
这篇关于缺少android.util.Log类文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文