【发布时间】:2017-09-08 00:00:21
【问题描述】:
在尝试使用 ProGuard (5.3.2) 混淆自动化框架时收到大量警告,我通过添加相应的库解决了大部分警告,但无法解决以下警告。我已经尝试添加 com.hibernate-core jar,但还是一样。
Warning: com.test.utils.DBOperations: can't find referenced method 'org.hibernate.Session openSession()' in library class org.hibernate.SessionFactory
Warning: com.test.utils.DBOperations: can't find referenced method 'void close()' in library class org.hibernate.Session
我曾尝试寻找解决方案,但答案总是针对 android 应用程序。
【问题讨论】:
标签: automation proguard