我在这里通过此链接使用发布密钥签署了我的地图应用程序
http://developer.android.com/guide/publishing/app-signing.html#cert
生成deBUGing密钥后,下一步是通过使用Certificate签名生成Release map密钥.我正在做这些工作正常,但最终jarsigner无法找到我的NooYawk.apk文件.
我该怎么做呢
admins-Mac-mini:.androID DavID$keytool -genkey -v -keystore
fureleasekey.keystore -alias fashion -keyalg RSA -keysize 2048
-valIDity 10000
接下来是: –
admins-Mac-mini:~ DavID$keytool -genkey -v -keystore
maprelease.keystore -alias maps -keyalg RSA -keysize 2048 -valIDity
10000 Enter keystore password: Re-enter new password: What is your
first and last name? [UnkNown]: m What is the name of your
organizational unit? [UnkNown]: h What is the name of your
organization? [UnkNown]: k What is the name of your City or
Locality? [UnkNown]: le What is the name of your State or Province?
[UnkNown]: we What is the two-letter country code for this unit?
[UnkNown]: sd Is CN=m, OU=h, O=k, L=le, ST=we, C=sd correct? [no]:
yes
接下来是: –
Generating 2,048 bit RSA key pair and self-signed certificate
(SHA1withRSA) with a valIDity of 10,000 days for: CN=m, OU=h, O=k,
L=le, ST=we, C=sd Enter key password for (RETURN if same as
keystore password): Re-enter new password: [Storing
maprelease.keystore]
接下来是: –
admins-Mac-mini:~ DavID$jarsigner -verbose -sigalg MD5withRSA
-digestalg SHA1 -keystore maprelease.keystore NooYawk.apk maps Enter Passphrase for
keystore: jarsigner: unable to open jar file:
NooYawk.apk
提前致谢.
解决方法:
除非NooYawk.apk在您当前的工作目录中,否则您需要提供APK文件的完整路径.
总结以上是内存溢出为你收集整理的android – jarsigner无法打开jar文件:NooYawk.apk.(NooYawk是应用程序名称)全部内容,希望文章能够帮你解决android – jarsigner无法打开jar文件:NooYawk.apk.(NooYawk是应用程序名称)所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)