找到你要的答案

Q:ProGuard in Android Studio

Q:在Android的工作室到

I am using ProGuard for my apps. Unfortunately, when attempting to release the APK for the 2nd time, Android Studio is giving me this error:

Generate signed APK: Errors while building apk, see messages tool window for list of errors.

The first time I did this, I did not get an error. I have checked the sign directory. Everything is correct. I cannot release with minify=true for the new version. If I set it to false, it works.

我为我的应用程序使用混淆器。不幸的是,试图释放APK为第二的时候,Android的工作室给我这个错误:

生成apk APK错误而签署:建筑,看到短信的工具窗口列表错误。

我第一次这样做,我没有得到一个错误。我已经检查了符号目录。一切都是正确的。我不能缩小=真正的新版本发布。如果我设置为false,它的工作原理。

answer1: 回答1:

I've had this problem too, than I tried to make a new key store path, than it works, you can also place the key store path in the same directory as the last one you've made

我也有这个问题,比我试图做一个新的密钥存储路径,比它的工作,你也可以把密钥存储路径在同一个目录作为最后一个你

proguard  android-proguard