由于错误,无法在cmd上签名apk文件 [英] Cannot Sign apk file on cmd due to errors
问题描述
我正在运行的是
jarsigner -verbose -keystore C:\Users\myuser\Desktop\myCertificate.keystore C:\folder\myapp.apk myKey
然后我被要求输入密码,并且输入正确。最后我得到:
jarsigner:无法打开jar文件:C:\myapp.apk
我按照此处
尝试这些说明,并确保将文件名放在引号中它们有空格。
http://developer.android.com/tools/publishing/app-signing.html#releasemode
I am trying to sign an .apk file created by Phonegap in a Windows 7 system.
Here is what I'm running:
jarsigner -verbose -keystore C:\Users\myuser\Desktop\myCertificate.keystore C:\folder\myapp.apk myKey
Then I'm asked for the password and I enter it correctly. Lastly I get:
jarsigner: unable to open jar file: C:\myapp.apk
I'm following the instructions from here
Try these instructions, and make sure you put filenames in quotes if they have spaces.
http://developer.android.com/tools/publishing/app-signing.html#releasemode
这篇关于由于错误,无法在cmd上签名apk文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!