没有提示签署Cordova Windows应用程序证书的提示 [英] No prompt for signing a certificate for Cordova windows app

查看:47
本文介绍了没有提示签署Cordova Windows应用程序证书的提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用命令行工具来创建和安装Cordova Windows应用程序.运行cordova run windows --device时,shell会显示以下文本:

I'm trying to create and install a Cordova windows application by using the command-line tools. When running cordova run windows --device, the shell shows this text:

Before installing this app, you need to do the following:
        - Install the signing certificate
Administrator credentials are required to continue.  Please accept the UAC
prompt and provide your administrator password if asked.

问题在于没有提示.科尔多瓦似乎坐在那里,等着我接受提示,但是除了按ctrl-c之外,我什么也没做.如何获得提示或以其他方式解决问题?

The problem is that there's no prompt. Cordova seems to sit there, waiting for me to accept the prompt, but I can't do anything but press ctrl-c. How to get the prompt or otherwise get aroung the problem?

我的环境:Windows 8.1 Enterprise,VS Express 2013,Cordova 6.0.0.使用以下项目创建的项目:

My environment: Windows 8.1 Enterprise, VS Express 2013, Cordova 6.0.0. Project created with:

cordova create hello
cd hello
cordova platform add windows
cordova build windows
cordova run windows --device

推荐答案

我没有深入研究细节,但是

I did not dig in to the details, but

cordova run windows --device -- --phone

似乎可以完成我所需要的:它已将应用程序成功安装到所连接的手机上.

seemed to do what I needed: it successfully installed the application to the attached phone.

这篇关于没有提示签署Cordova Windows应用程序证书的提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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