我的 config.xml 文件
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.onsen.helloworld" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Onsen UI Project</name>
<description>
Onsen UI project to create fancy user interfaces for hybrid mobile applications. It uses uses Apache Cordova to help you build an app that targets multiple mobile platforms: Android, iOS, Windows, and Windows Phone.
</description>
<author email="dev@onsen.io" href="http://onsen.io">
Onsen UI Team
</author>
<content src="index.html" />
<access origin="*" />
<engine name="android" spec="~4.1.1" />
<gap:plugin name="com.admob.google" version="2.0.2" source="plugins.cordova.io" />
</widget>
当我尝试从 build.phonegap.com 构建时,我收到以下错误:
plugin source unsupported: com.admob.plugin from plugins.cordova.io
confic.xml 有什么问题?请帮忙
编辑:将 admob 插件行更改为此仍然会出现“格式错误的 confic.xml”错误
<gap:plugin name="cordova-admob" source="npm"/>