如何改变Android项目在Eclipse中包的名字吗?名字、项目、Android、Eclipse

2023-09-11 12:43:09 作者:俄一个人和自己玩°

我在 Eclipse中创建的Andr​​oid项目。我想修改包名和应用程序的项目中。我该怎么做,在Eclipse中?

I have an Android project created in Eclipse. I want to modify the package name and application of the project. How do I do that in Eclipse?

推荐答案

像往常一样,由pressing F2 的包名,你可以重命名或通过右键单击更改包的名称,也然后选择重命名选项,您可以更改或重命名的包名。

As usual, by pressing F2 on the package name, you can rename or change the package name, and also by right-clicking and then select Rename option, you can change or rename the package name.

在preSS F2 ,它会告诉你的对话框:

When you press F2, it will show you the dialog box as:

在此对话框中,不要忘了,因为通过检查这个复选框,将进行更改包的所有这是由项目的其他组成部分提到的参考检查更新引用复选框

In this dialog, don't forget to check the "Update references" checkbox because by making "check" to this check-box, it will make changes to all the references of the package which are referred by other components of project.