重命名该R.java在生成的包重命名、java

由网友(/╱。在伱佐笾.)分享简介:我使用Eclipse和我创建了一个测试Android项目和包中包含了根文件夹 R.java 目前名为 com.something.test (我还以为我只是测试,但建立在它在我的整个应用程序!)I am using eclipse and I created a test android project and th...

我使用Eclipse和我创建了一个测试Android项目和包中包含了根文件夹 R.java 目前名为 com.something.test (我还以为我只是测试,但建立在它在我的整个应用程序!)

I am using eclipse and I created a test android project and the package in the "gen" folder that contains R.java is currently called com.something.test (I thought I was just testing but build my whole app on it!)

这是加载应用程序时所引用的电话有时会显示它,所以我需要重新命名它。我想这个通过点击重构,但它与旧名称再次再生了!

This is referenced when loading the app and the phone sometimes displays it so I need to rename it. I tried this by clicking refactor but it regenerated it again with the old name!

我可以改名?

推荐答案

右键单击您的项目,那么Android的工具 - >重命名应用程序名称:

Right click your project, then Android Tools -> Rename Application Name:

或者,如果你想要做手工,去你的清单文件,更改包名称,并进行项目清理。

Or, if you want to do it manually, go to your manifest file, change the package name, and make a Project Clean.

阅读全文

相关推荐

最新文章