【发布时间】:2016-07-23 00:52:44
【问题描述】:
我正在尝试发布我的应用程序,而 ProGuard 导致我的服务器代码出现各种错误,所以我进入 gradle 控制台并看到了这个:
Note: there were 2 references to unknown classes.
You should check your configuration for typos.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unknownclass)
Note: there were 26 unkept descriptor classes in kept class members.
You should consider explicitly keeping the mentioned classes
(using '-keep').
(http://proguard.sourceforge.net/manual/troubleshooting.html#descriptorclass)
Note: there were 22 unresolved dynamic references to classes or interfaces.
You should check if you need to specify additional program jars.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclass)
Note: there were 15 accesses to class members by means of introspection.
You should consider explicitly keeping the mentioned class members
(using '-keep' or '-keepclassmembers').
(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclassmember)
这一切都很好,但我怎么知道 ProGuard 正在谈论哪些具体参考?他们肯定不希望我独立找到/记住这些参考资料吗?
【问题讨论】: