如果我添加一个插件到config.xml并上传我的项目,配置似乎是格式不正确。Phonegap生成Config.xml格式错误
<?xml version='1.0' encoding='utf-8'?>
<widget
id="com.example.app"
version="0.0.1"
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
>
<name>App</name>
<description>
A sample Apache Cordova application that responds to the deviceready event.
</description>
<author email="[email protected]" href="http://cordova.io">
Me
</author>
<content src="index.html" />
<access origin="*" />
<preference name="phonegap-version" value="3.0.0" />
<gap:plugin name="org.apache.cordova.file" />
</widget>
的PhoneGap的instructions告诉我这行加入到我的config.xml:
<gap:plugin name="org.apache.cordova.file" />
每当我上传它,它变得畸形。
没有插件就可以正确构建吗? – QuickFix