简体   繁体   中英

Can I rename AndroidManifest.xml?

I create different android project in eclipse, but every project include the same name AndroidManifest.xml, can I rename AndroidManifest.xml? Thanks!

A big NO and why you want to change name ?

UPDATE

Every application must have an AndroidManifest.xml file in its root directory. The manifest file presents essential information about your app to the Android system, information the system must have before it can run any of the app's code.

No ..manifest文件作为您的Application和Android os之间的桥梁。因此,它必须使用相同的名称。如果您重命名Android os,则不知道您的Application ..

No you can't rename this. For more information you can read this topic: https://developer.android.com/guide/topics/manifest/manifest-intro.html

No you cannot rename it, the reason behind this is that it has been used by the android OS, to know the Permissions, as well as to know which activity should be opened at what time. All such controls are written in this AndroidManifest file. So changing its name is not allowed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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