如何修复格式错误的config.xml。 phonegap构建config.xml文件出错

时间:2019-05-27 20:26:10

标签: android xml phonegap-build

当我尝试使用phonegap构建转换我的应用程序时,出现错误消息“格式错误的config.xml”。

我试图在www.xmlvalidation.com上品尝它,并说:“不允许匹配“ [xX] [mM] [lL]”的处理指令目标。 “。(我不知道那是什么意思

    <?xml version="1.0" encoding="UTF-8"?>
<widget xmlns = "http://www.w3.org/ns/widgets"
    xmlns:gap = "http://phonegap.com/ns/1.0"
    xmlns:android = "http://schemas.android.com/apk/res/android"
    id        = "mmtt online"
    versionCode="1.0"
    version   = "1.0">
    <name>MMTT      </name>
    <description>improving the measure      </description>
    <author href="" email="jonathan.facundo@enel.com">jonathan_facundo</author>
    <feature name="http://api.phonegap.com/1.0/battery" />
    <feature name="http://api.phonegap.com/1.0/file" />
    <feature name="http://api.phonegap.com/1.0/media" />
    <feature name="http://api.phonegap.com/1.0/network" />
    <feature name="http://api.phonegap.com/1.0/notification" />
    <preference name="phonegap-version" value="cli-6.1.0" />
    <preference name="android-build-tool" value="gradle" />
    <preference name="orientation" value="default" />
    <preference name="fullscreen" value="true" />
    <preference name="target-device" value="universal" />
    <preference name="webviewbounce" value="true" />
    <preference name="prerendered-icon" value="false" />
    <preference name="stay-in-webview" value="true" />
    <preference name="ios-statusbarstyle" value="default" />
    <preference name="detect-data-types" value="true" />
    <preference name="exit-on-suspend" value="true" />
    <preference name="show-splash-screen-spinner" value="true" />
    <preference name="auto-hide-splash-screen" value="true" />
    <preference name="FadeSplashScreen " value="true" />
    <preference name="EnableViewportScale" value="false" />
    <preference name="MediaPlaybackRequiresUserAction" value="false" />
    <preference name="AllowInlineMediaPlayback" value="true" />
    <preference name="BackupWebStorage" value="none" />
    <preference name="TopActivityIndicator" value="white" />
    <preference name="KeyboardDisplayRequiresUserAction" value="true" />
    <preference name="KeyboardShrinksView " value="true" />
    <preference name="HideKeyboardFormAccessoryBar" value="true" />
    <preference name="SuppressesIncrementalRendering" value="false" />
    <preference name="windows-identity-name" value="" />
    <preference name="android-installLocation" value="auto" />
    <preference name="SplashScreenDelay" value="2000" />
    <preference name="ErrorUrl" value="null" />
    <preference name="BackgroundColor" value="0x000000" />
    <preference name="DisallowOverscroll" value="true" />
    <preference name="LoadingDialog" value="," />
    <preference name="LoadUrlTimeoutValue" value="null" />
    <platform name="ios">
    </platform>
    <platform name="android">
    </platform>
    <platform name="winphone">
    </platform>
     <icon src="icon.png" />
    <access origin="http://nahuabakery.com/mmtt_facu/insert.php" subdomains="true" />
    </widget>

0 个答案:

没有答案