R.java正在打扫项目后删除 [英] R.java was deleted after cleaning the project

查看:154
本文介绍了R.java正在打扫项目后删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无意中删除我的 R.java 清洗后的项目(项目 - >清洁)。有什么办法恢复或重新创建该文件?

I accidently deleted my R.java after cleaning the project (Project->Clean). Is there any way to restore or re-create the file?

我试图建立的项目,但 R.java 还是从项目中丢失了。

I tried to build the project but R.java still missing from the project.

推荐答案

下面是一个我ahve试过的东西。

Here's a the things I ahve tried.


  • 重建项目(失败)

  • 手动创建 R.java ,等待ADT将生成内容(失败)

  • 难道项目 - >清洁其他时间(失败)

  • 删除了根文件夹,并一直等到ADT将重新创建它(失败)

  • Rebuilding the project (failed)
  • Manually creating R.java and wait until the adt will generate the content (failed)
  • Did Project->clean another time (failed)
  • Deleted the gen folder and waited until adt will re-create it (failed)

答案是:


  • 创建新项目,并复制生成不能自动的文件(成功)

  • Created new project and copied the files that not auto generated (succeeded)

这篇关于R.java正在打扫项目后删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆