如何编辑的AndroidManifest.xml中的PhoneGap 3 [英] How to edit AndroidManifest.xml in PhoneGap 3
问题描述
似乎PhoneGap的生成文件时自动的config.xml
修改
It seems PhoneGap generates that file automatically when config.xml
is modified.
我想补充的广告网络的活动,服务等在的AndroidManifest.xml
,但我找不到编辑该文件的正确方法。
I wish to add Ad network's activities, services, etc in AndroidManifest.xml
but I can't find the correct way to edit that file.
推荐答案
PhoneGap的使用config.xml中创建AndroidManifest.xml中当您添加了Android平台的项目。 当你添加插件和建设项目它也被修改(例如,它增加了对插件所需的权限)。
Phonegap uses config.xml to create androidmanifest.xml when you add the android platform to a project. It is also modified when you add plugins and build the project (for example, it adds the required permission for the plugin).
但你也可以手动编辑平台/安卓/ AndroidManifest.xml中
添加权限,配置活动或应用程序...它不会丢失文件当你重建项目。
But you can also manually edit the file in platforms/android/AndroidManifest.xml
to add permissions, configure the activity or the application... it will not be lost when you rebuild your project.
这篇关于如何编辑的AndroidManifest.xml中的PhoneGap 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!