签名方法:java-jarsignapk.jarmyproject.x509.pemmyproject.pk8myproject.apkmyproject_signed.apksignapk.jar:签名工具jarmyproject.x509.pem:含有公钥的文件myproject.pk8:是私钥文件myproject.apk:需要签名的apk(如果不在当前目录,需要路径全名)myproject_signed.apk:签名后的apk(默认当前目录输出)。