简体   繁体   English

我的Android Eclipse Developer应用程序中有2个AndroidManifest.xml文件,我应该编辑哪一个?

[英]There are 2 AndroidManifest.xml files in my Android Eclipse Developer app, which one should I edit?

I am using the Android Eclipse Developer app, and with each new Android Project, there are two AndroidManifest.xml files. 我使用的是Android Eclipse Developer应用程序,每个新的Android Project都有两个AndroidManifest.xml文件。

The first is located at projectName/bin/AndroidManifest.xml 第一个位于projectName/bin/AndroidManifest.xml

The second is located at projectName/AndroidManifest.xml 第二个位于projectName/AndroidManifest.xml

Should I make the same changes to both AndroidManifest files? 我应该对两个AndroidManifest文件进行相同的更改吗?

Or should I only make changes to the projectName/AndroidManifest.xml (second choice)? 或者我应该只对projectName/AndroidManifest.xml (第二选择)进行更改?

projectName/AndroidManifest.xml ; projectName/AndroidManifest.xml ; you only need to modify this file. 你只需要修改这个文件。

The projectName/bin/AndroidManifest.xml file is automatically generated, so you don't need to modify it. projectName/bin/AndroidManifest.xml文件是自动生成的,因此您无需修改​​它。

做一个Project> Clean in Eclipse,一个应该消失。

Just leave aside the AndroidManifest that located in your bin folder. 只需将位于bin文件夹中的AndroidManifest放在一边。

Simply only edit your AndroidManifest that located outside which is your second choice. 只需编辑位于外面的AndroidManifest,这是您的第二选择。 projectName/AndroidManifest.xml PROJECTNAME / AndroidManifest.xml中

Always use AndroidManifest.xml file which is located in root folder. 始终使用位于根文件夹中的AndroidManifest.xml文件。

"projectName/AndroidManifest.xml" “PROJECTNAME / AndroidManifest.xml中”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM