没有提示签署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.