客户需要签名的APK,但他没有给我们现有的密钥。同时,客户也无法根据我们提供给他的代码创建签名的apk。他曾经考虑过的唯一选择:我们给了他apk,他用现有的jks签署了它。但是,当他尝试使用Jarsigner工具对其进行签名以使用其Google Enterprise密钥对应用进行重新签名时,会引发错误:
unable to sign jar: java.io.EOFException: Unexpected end of ZLIB input stream
There is something possibly wrong with GZIPInputStream or GZIPOutputStream, or possibly there is no gz.close(); which would need to be called on the GZIPOutputStream in order for the code to read it.v