简体   繁体   English

android项目中引用资源文件夹的问题

[英]problem in referencing resource folder in android project

i am developing android project in eclipse ADT plugin.i download one open source project(k9 email client) from github.com. 我正在eclipse ADT插件中开发android项目。我从github.com下载了一个开源项目(k9电子邮件客户端)。 then i add android 2.2.jar file to referenced library folder of project but still i face problem with syntax like... 然后我将android 2.2.jar文件添加到项目的引用库文件夹中,但仍然遇到语法问题,例如...

identity.setSignature(context.getString(R.string.default_signature)); identity.setSignature(context.getString(R.string.default_signature));; identity.setDescription(context.getString(R.string.default_identity_description)); identity.setDescription(context.getString(R.string.default_identity_description));

whenever i reference the resource folder it shows me error..so please help me. 每当我引用资源文件夹时,它就会向我显示错误..so,请帮助我。

看起来您需要将values.LANGUAGE之一中的strings.xml复制到res或values文件夹中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM