[WP8.1]无法安装APPX文件 [英] [WP8.1]Unable to Install the APPX File

查看:781
本文介绍了[WP8.1]无法安装APPX文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用cordova为Windows 8.1手机创建了一个Windows Hybrid应用程序。它正在使用Cordova-sqlcipher-adapter插件。

I have created a Windows Hybrid application for windows 8.1 phone using cordova. It is using Cordova-sqlcipher-adapter plugin.

当我尝试使用visual studio在我的设备中安装应用程序时,我能够正确安装。

When i try to install the application in my device using visual studio, i am able to install properly.

但是当我创建商店应用程序并将appx文件共享给我的同事时,他们无法安装它。

But when i create a store app and share the appx file to my colleagues, they are not able to install it.

以下是我分享的appx文件的详细信息。

Below are the details about appx file which i shared.

(i)它是作为ARM体系结构的发布版本创建的。

(i) It was created as release build for ARM architecture.

(ii)它是未签名的应用程序。

(ii) It is unsigned app.

(iii)他们正在尝试使用Windows Phone Application Deployment 8.1安装应用程序。

(iii) They are trying to install the app using Windows Phone Application Deployment 8.1.

当他们尝试安装时,他们收到错误说"错误 - XML文档中存在错误(2,2)"

When they try to install it, they get error saying "Error - There is an error in XML document (2, 2)"

推荐答案

嗨  ImNaveenK,

Hi ImNaveenK,

您应该可以在应用上签名。如果该应用是未签名的应用,则无法将其安装到设备上。

You should be able to sign your app. If the app is unsigned app, it can not be installed to the device.

让您的同事更改了开发人员的设置吗?如果没有,您应该能够在For开发人员中设置Sideload应用程序。

Have your colleagues changed the setting in the For developers? If not, you should be able to set the Sideload apps in the For developers.

哪里有关于使用应用程序部署工具部署Windows Phone 8.1应用程序的官方文档,请在此链接中查阅:  https://msdn.microsoft.com/en-us/library/dn632395.aspx

Where is an official document about the Deploy Windows Phone 8.1 apps with the Application Deployment tool, please refer it in this link: https://msdn.microsoft.com/en-us/library/dn632395.aspx.

如果您已按照文档中的步骤操作,则可以创建一个空白的UWP项目,编译并生成".appx"包。您可以使用visual studio直接在手机上部署它,或使用"应用程序部署工具"进行部署。如果你可以成功部署
这个项目,我担心你需要检查你的应用程序项目,可能会有一些问题。如果您仍然遇到此问题,我认为您需要检查visual studio。也许你需要修理它。

If you have followed the steps in the document, you could create a blank UWP project, compile and generate ".appx" package. After you could use visual studio to deploy it on phone directly or use "Application Deployment tool" to deploy it. If you can deploy this project successfully, I’m afraid that you would need to check your app project, there might be some problems with it. If you still faced this issue, I think you need to check the visual studio. Maybe you would need to repair it.

最好的问候,

Jayden Gu

Jayden Gu


这篇关于[WP8.1]无法安装APPX文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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