简体   繁体   中英

How to Sign Apk With JDK 7

I have issues with signing Android Apk with JDk 7.

I followed the following 3 steps for signing and zipaligning

keytool -genkey -v -keystore C:\Android\Equator_Bytes.keystore -alias Equator_Bytes -keyalg RSA -keysize 2048 -validity 10000

jarsigner -verbose -keystore C:\Android\Equator_Bytes.keystore C:\Android\Cloudy_Day_unsigned.apk Equator_Bytes

zipalign -v 4 C:\Android\Cloudy_Day_unsigned.apk C:\Android\CloudyDay.apk

However the signed apk is not Installable.

I tried Installing JDK 6, I wasn't even able to install it.

Has Anyone ever succeed in signing with JDK 7? Or is their another way to sign and zipalign?

Thanks!!!

我安装了glassfish JDK 6,解决了所有问题。尽管我还没有尝试使用JDK 7版本的glassfish进行签名或安装。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM