我正在 Eclipse ADT 插件中开发 android 项目。我从 github.com 下载了一个开源项目(k9 电子邮件客户端)。然后我将 android 2.2.jar 文件添加到项目的引用库文件夹中,但我仍然面临语法问题......
identity.setSignature(context.getString(R.string.default_signature)); identity.setDescription(context.getString(R.string.default_identity_description));
每当我引用资源文件夹时,它都会向我显示错误..所以请帮助我。