如何使用 phonegap build 创建 Shield TV APP
How to create a Shield TV APP with phonegap build
如何在 Phonegap 版本中安装 Shield TV 支持?
当我将它添加到我的 config.xml
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
我收到此错误消息
Error - Malformed config.xml - You can fix this here
有什么想法我做错了吗?
<?xml version="1.0" encoding="UTF-8" ?>
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.xxxx.app"
versionCode = "1.0.9"
version = "1.0.9" >
<!-- versionCode is Android only -->
<!-- version is in major.minor.patch format -->
<name>XXX</name>
<description>
XXX
</description>
<author href="xxxxx" email="contact@xxx.com">
XXX
</author>
<icon src="icon.png" />
<preference name="fullscreen" value="true" />
<preference name="StatusBarOverlaysWebView" value="true" />
<access origin="*" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<!-- Intenet zugriff plugin -->
<plugin name="cordova-plugin-whitelist" source="npm"/>
<plugin name="cordova-plugin-statusbar" source="npm"/>
<!--- <plugin name="cordova-plugin-fullscreen" source="npm" /> -->
<plugin name="cordova-plugin-vibration" source="npm" />
<plugin name="cordova-plugin-x-socialsharing" source="npm" />
<plugin name="phonegap-admob" source="npm"/>
</widget>
好吧,请尝试查看此 documentation 以了解如何正确构建 PhoneGap。
您可以在此处查看 config.xml
的基本属性和示例
我也在这个 Failed Builds that if you encountered an error Malformed config.xml, you can use the W3C validator 中找到这里来检查你的 config.xml 是否有效 XML。
如何在 Phonegap 版本中安装 Shield TV 支持?
当我将它添加到我的 config.xml
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
我收到此错误消息
Error - Malformed config.xml - You can fix this here
有什么想法我做错了吗?
<?xml version="1.0" encoding="UTF-8" ?>
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.xxxx.app"
versionCode = "1.0.9"
version = "1.0.9" >
<!-- versionCode is Android only -->
<!-- version is in major.minor.patch format -->
<name>XXX</name>
<description>
XXX
</description>
<author href="xxxxx" email="contact@xxx.com">
XXX
</author>
<icon src="icon.png" />
<preference name="fullscreen" value="true" />
<preference name="StatusBarOverlaysWebView" value="true" />
<access origin="*" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<!-- Intenet zugriff plugin -->
<plugin name="cordova-plugin-whitelist" source="npm"/>
<plugin name="cordova-plugin-statusbar" source="npm"/>
<!--- <plugin name="cordova-plugin-fullscreen" source="npm" /> -->
<plugin name="cordova-plugin-vibration" source="npm" />
<plugin name="cordova-plugin-x-socialsharing" source="npm" />
<plugin name="phonegap-admob" source="npm"/>
</widget>
好吧,请尝试查看此 documentation 以了解如何正确构建 PhoneGap。
您可以在此处查看 config.xml
的基本属性和示例我也在这个 Failed Builds that if you encountered an error Malformed config.xml, you can use the W3C validator 中找到这里来检查你的 config.xml 是否有效 XML。