Android的logcat的错误" getExternalStorageState到/ mnt / SD卡"检查外部存储状态时, [英] Android logcat error "getExternalStorageState/mnt/sdcard" when checking for external storage state
问题描述
在我的Galaxy Tab 10.1我检查与外部存储状态时得到奇怪的logcat错误:
On my Galaxy Tab 10.1 I get strange logcat errors when checking the external storage state with:
Environment.getExternalStorageState();
LogCat中说:
Logcat says:
03-10 14:13:22.700: E/Environment(32754): getExternalStorageState/mnt/sdcard
没有真正找到有用的东西在谷歌搜索时。唯一的信息,我发现,这可能牵扯到与文件系统。
Did not really find something helpful when searching on Google. The only information I found that this maybe has something to do with the filesystem.
可以此错误是固定的?我在这个小测试项目中使用API等级11。
Can this error be fixed? I used API Level 11 in this small Test Project.
编辑:只是为了澄清... getExternalStorageState()的作品,并返回MEDIA_MOUNTED,我只是好奇这个logcat的误差
Just to clarify... getExternalStorageState() works and returns MEDIA_MOUNTED, I was just curious about this logcat error.
推荐答案
我认为这仅仅是一个调试日志条目,不是一个错误。我见过logcat中的错误消息从我的Galaxy Note,明确并不意味着错误的。
I think that this is just a debug log entry, not an error. I've seen error messages in logcat from my Galaxy Note that clearly do not mean errors.
您甚至无法找到在Android源$ C $ C此消息。这可能是由三星人增加了一些调试消息。
You even can't find this message in the Android source code. It may be some debug messages added by the Samsung people.
这篇关于Android的logcat的错误" getExternalStorageState到/ mnt / SD卡"检查外部存储状态时,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!