无法部署针对Window 8 / 8.1设备的WP Phonegap应用 [英] Trouble deploying WP Phonegap app targeting a Window 8/8.1 devices

查看:79
本文介绍了无法部署针对Window 8 / 8.1设备的WP Phonegap应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在尝试使用AppDeloy工具在WP8.1设备上部署WP Phonegap应用程序WP8.0 sdk工具。部署到设备时,我们遇到了很多问题。阻止我们的特定错误是"安装应用程序失败。发生了运行时
错误。修复WMAppManifest.xml中的功能" (在WMAppManifest代码段下面找到)。请注意,我可以安装一个没有问题的调试版本。



我们非常感谢任何支持,指出我们正确的方向来解决这个问题。如果我可以与您或可以帮助我们的人进行实时聊天,将会非常有帮助。



提前致谢。




$ b问候,b


Ranjith

Clearbridge Mobile

I am trying to deploy a WP Phonegap app on a WP8.1 device using a AppDeloy tool from WP8.0 sdk tools. We are having a lot of issues when deploying to a device. The specific error that is blocking us is "Installation of the application failed. Runtime error has occurred. Fix the capabilities in WMAppManifest.xml" (find below WMAppManifest code segment). Please note that I can install a debug version with no problems.

We would really appreciate any support in pointing us in the right direction to resolve the situation. It would be of great help if I can hop on a live chat with you or someone who can help us.

Thanks in advance.


Regards,

Ranjith
Clearbridge Mobile

<?xml version='1.0' encoding='utf-8'?>
<Deployment AppPlatformVersion="8.0" xmlns="http://schemas.microsoft.com/windowsphone/2012/deployment">
    <DefaultLanguage code="en-US" xmlns="" />
    <Languages xmlns="">
        <Language code="en-US" />
    </Languages>
    <App Author="ABC" BitsPerPixel="32" Description="ABCD" Genre="apps.normal" ProductID="{xxxx}" Publisher="ABC" PublisherID="{xxxx}" RuntimeType="Silverlight" Title="We365" Version="1.0.0" xmlns="">
        <IconPath IsRelative="true" IsResource="false">Images\w3_windowsapp_icon-small.png</IconPath>
        <Capabilities>
            <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
            <Capability Name="ID_CAP_NETWORKING" />
            <Capability Name="ID_CAP_ISV_CAMERA" />
            <Capability Name="ID_CAP_MEDIALIB_PHOTO" />
            <Capability Name="ID_CAP_CONTACTS" />
        </Capabilities>
        <Tasks>
            <DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
        </Tasks>
        <Tokens>
            <PrimaryToken TaskName="_default" TokenID="We365Token">
                <TemplateFlip>
                    <SmallImageURI IsRelative="true" IsResource="false">Images\w3_windowsapp_icon-small.png</SmallImageURI>
                    <Count>0</Count>
                    <BackgroundImageURI IsRelative="true" IsResource="false">Images\w3_windowsapp_icon-medium.png</BackgroundImageURI>
                    <Title>
                    </Title>
                    <BackContent>
                    </BackContent>
                    <BackBackgroundImageURI IsRelative="true" IsResource="false">
                    </BackBackgroundImageURI>
                    <BackTitle>
                    </BackTitle>
                    <LargeBackgroundImageURI IsRelative="true" IsResource="false">Images\w3_windowsapp_icon-wide.png</LargeBackgroundImageURI>
                    <DeviceLockImageURI IsRelative="true" IsResource="false">Images\w3_windowsapp_icon-wide.png</DeviceLockImageURI>
                    <HasLarge>True</HasLarge>
                </TemplateFlip>
            </PrimaryToken>
        </Tokens>
        <ScreenResolutions>
            <ScreenResolution Name="ID_RESOLUTION_WVGA" />
            <ScreenResolution Name="ID_RESOLUTION_WXGA" />
            <ScreenResolution Name="ID_RESOLUTION_HD720P" />
        </ScreenResolutions>
    </App>
</Deployment>

推荐答案

你可以试试只需打开所有功能,看看是否能解决问题。 如果是,您可以开始关闭不需要的。
You might try just turning all the Capabilities on and seeing if that fixes it.  If it does, you can start turning off ones you don't need.


这篇关于无法部署针对Window 8 / 8.1设备的WP Phonegap应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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