0

I am using Eclipse Juno IDE for my android development. I recently installed the latest ADT 22.0.0 plugin. After that I am facing an issue.

Whenever I create a new application, R.java file is automatically deleted. For existing projects which have had no issues, R.java file is getting deleted when Build the project or clean it.

I have tried my best to sort out this issue, and it still exists. Has anybody faced or facing similar issue?? Is there a way this can be resolved ?? Any suggestions out there...

I am giving minSdkVersion="8" and targetSdkVersion="17"

Please help at the earliest possible.

4

1 回答 1

0

是针对一个项目还是针对所有项目?我希望它发生在您尝试创建的单个新项目中。

当您的 xml 文件中有错误时,通常会发生此错误。请检查您的xml文件以查看是否有任何错误。修复 xml 文件中的任何错误后,请检查源文件并删除对该R文件的任何引用。删除任何引用 R 文件的导入。

现在重新构建您的项目。我想它现在应该可以工作了。

更新

好的,这是新 SDK 的问题,请按照此答案解决您的问题。

于 2013-05-20T11:43:59.877 回答