如何编辑的Andr​​oidManifest.xml中的PhoneGap 3 [英] How to edit AndroidManifest.xml in PhoneGap 3

查看:189
本文介绍了如何编辑的Andr​​oidManifest.xml中的PhoneGap 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎PhoneGap的生成文件时自动的config.xml 修改

It seems PhoneGap generates that file automatically when config.xml is modified.

我想补充的广告网络的活动,服务等在的Andr​​oidManifest.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.

这篇关于如何编辑的Andr​​oidManifest.xml中的PhoneGap 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆