Closed fengqingxiuyi closed 7 years ago
使用keystore没有问题
麻烦问下你使用的是什么类型的key,可否提供一个sample给我debug呢?
On Mar 20, 2017 9:03 PM, "风清袖一" notifications@github.com wrote:
使用keystore没有问题
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shwenzhang/AndResGuard/issues/141#issuecomment-287752674, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbvYtlLXArn2KVhZHvvqoRytxHcevfZks5rnnkUgaJpZM4MiZZ1 .
先描述一下我的操作过程:我通过java -jar andresguard.jar …的方式打包,需要在config.xml中配置签名信息,如果我用debug.keystore签名打包不会报错,一切正常,如果我用release.jks签名打包,会出现之前评论的任务栈信息
然后不懂你说的类型指什么?sample的话再说,我看看能不能弄一个测试的release key
我今天重新打包了一下可以了,不知道是因为什么。。。。
错误信息: java.lang.NullPointerException at com.tencent.mm.androlib.ResourceApkBuilder.getSignatureAlgorithm(ResourceApkBuilder.java:108) at com.tencent.mm.androlib.ResourceApkBuilder.signApk(ResourceApkBuilder.java:132) at com.tencent.mm.androlib.ResourceApkBuilder.buildApk(ResourceApkBuilder.java:49) at com.tencent.mm.resourceproguard.Main.buildApk(Main.java:94) at com.tencent.mm.resourceproguard.Main.resourceProguard(Main.java:71) at com.tencent.mm.resourceproguard.cli.CliMain.run(CliMain.java:193) at com.tencent.mm.resourceproguard.cli.CliMain.main(CliMain.java:37) java.io.IOException: Can't Generate signed APK. Plz check your sign info is correct. at com.tencent.mm.androlib.ResourceApkBuilder.signApk(ResourceApkBuilder.java:159) at com.tencent.mm.androlib.ResourceApkBuilder.buildApk(ResourceApkBuilder.java:49) at com.tencent.mm.resourceproguard.Main.buildApk(Main.java:94) at com.tencent.mm.resourceproguard.Main.resourceProguard(Main.java:71) at com.tencent.mm.resourceproguard.cli.CliMain.run(CliMain.java:193) at com.tencent.mm.resourceproguard.cli.CliMain.main(CliMain.java:37)