问题描述
使用发布配置进行调试时,必须对错误 Android 包进行签名.要配置 Android 签名,请按照 http://go.microsoft.com/fwlink/?LinkID 上的说明进行操作=613579 BlankCordovaApp4
Error Android packages must be signed when debugging using the Release configuration. To configure Android signing, follow instructions at http://go.microsoft.com/fwlink/?LinkID=613579 BlankCordovaApp4
key.store=E:\key.keystore
key.alias=asdfgh
key.store.password=asdfgh
key.alias.password=asdfgh
这是我在 ant.properties 文件中给出的以下值.
This are the following values i have given in the ant.properties files.
keytool -genkey -v -keystore E:\key.keystore -alias asdfgh -keyalg RSA -keysize 2048 -validity 1000
我试图像这样为 key.store 添加另一个斜杠
I tried to add another slash for key.store like this
key.store=E:\\key.keystore
在构建过程中,我得到了以下信息
During the build, I got the following information
'keystore' and 'alias' need to be specified to generate a signed archive.
我输入了详细信息,在res -> native -> android -> ant.properties我试图在我的手机上安装该 apk,但出现错误提示安装失败"
I entered the details, in the res -> native -> android -> ant.properties I tried to install that apk in my mobile and i got error saying "Install failed"
Error code -102
推荐答案
我需要在 build.json
这篇关于Apache Cordova - Visual Studio 2015 - 无法构建签名的 apk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!