我无法访问存储在 strings.xml 中的字符串并且不知道为什么。
res/values/strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="FileBrowser">FileBrowser</string>
<string name="menu_settings">Settings</string>
<string name="up_one_level">..</string>
<string name="current_dir">.</string>
</resources>
代码
this.directoryEntries.add(getString(R.string.current_dir)); //current_dir is not being seen