English 中文(简体)
安装了ADD第14号:“R不能解决”
原标题:After installing Android ADT 14: "R cannot be resolved"

我的项目在更新到ADT14之后,现在就完全错了。 在我提及的“R”(R.string.mystring等)中,它说“R不能解决”。

我没有甲状腺。 进口到任何地方。

我的“基因”夹中没有任何东西。

该项目的“租赁”仅仅暴露了我指的“R”的所有地方,用错误标明这些地方。

任何建议?

最佳回答

这个问题通常由进口的<代码>android.R造成,正如你所说,但鉴于这一问题在你的案件中不是问题,我怀疑你在一份资源档案中发现了XML错误。

问题回答

确保您从“Android SDK and AVD Manager”中安装最新的ADT Eclipse Plug-In 或/and reinstall SDK 工具+平台-Tools(Eclipse -> Window-> Anders SDK and AVD Manager)

我尝试了上述一切,但没有一人为我工作。 我的扼杀档案中没有Xml的错误。 最终取消和重新修饰是我的工作。

可能是由于R14和R15(也面临这种情况)试图改变任何 j木档案和清洁建筑和roid项目。 这为我创造了R.java档案。 我知道,它不是解决问题的完美答案,而是发挥作用。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签