shwenzhang / AndResGuard

proguard resource for Android by wechat team
Apache License 2.0
8.54k stars 1.54k forks source link

Error:Execution failed for task ':app:resguardRelease'. > can't the get signConfig for release build #116

Closed xiangxm closed 7 years ago

xiangxm commented 7 years ago

请问使用gradlew resguardRelease会报错 Error:Execution failed for task ':app:resguardRelease'.

can't the get signConfig for release build

simpleton commented 7 years ago

如果使用buildType = release的话,需要配置signConfig信息。

On Mon, Dec 5, 2016 at 10:52 AM, Rico.Xiang notifications@github.com wrote:

请问使用gradlew resguardRelease会报错 Error:Execution failed for task ':app:resguardRelease'.

can't the get signConfig for release build

— 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/116, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbvYqTGRHgRGkQMwzzGvtaUKz8cSPvuks5rE3xdgaJpZM4LDzib .

LelandACM commented 7 years ago

@simpleton 配置了signConfig release 和 debug都配置了,为什么还会报这个错误,我的证书是android studio 生成的.jks格式,而你的demo里面是.keystore 格式的是不是这个原因?

simpleton commented 7 years ago

@GitACDreamer 可以提供一个可以复现问题的测试证书?另外确认下你使用的是v1 还是 v2签名。

simpleton commented 7 years ago

fixed in 1.2.3

LelandACM commented 7 years ago

@simpleton 谢谢!问题已经解决了,是我自己没配置正确

AllenLiu20210507 commented 6 years ago

你咋解决的???

LelandACM commented 6 years ago

@AImiracle 我已经看到你的邮件了,我把我以前做的那个APP的 build.gradle配置文件发送邮箱给你,当时是我的签名文件更改了位置,路径发生变化,根据作者的document 来操作应该是没问题的。

LelandACM commented 6 years ago

@AImiracle 尴尬,邮箱里面回复的,github上也会显示啊,暴露了我的手机和一些相关信息o(╥﹏╥)o,其中两个附件和一张图片我已经发送给你了。 就是跟着demo来就不会错,主要是细心,祝你好运(* ̄︶ ̄)