【发布时间】:2017-08-03 18:10:12
【问题描述】:
生成签名的 APK:
Note: there were 8 unresolved dynamic references to classes or interfaces.
Note: there were 4 accesses to class members by means of introspection.
Warning: there were 5 unresolved references to classes or interfaces.
Warning: there were 1 unresolved references to program class members.
transformClassesAndResourcesWithProguardForRelease FAILED
UPD。 Stacktrace is here.
如果我使用 -ignorewarnings 选项,则该应用会在某些 Android 版本上崩溃。
大概是在去 Room 之后,我停止生成签名的 APK。 我还必须将 com.google.firebase、com.google.android.gms:play-services 从 11.0.4 降级到 11.0.2
两个简单的问题(对于那些知道的人)。
日志说:
Try: Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
第一季度。我可以在 Android Studio 的哪个位置指定“--stacktrace”、“--info 或--debug”选项?
第二季度。如何(我阅读日志)我必须找出缺少哪些课程?我应该去哪里看?要寻找什么?
【问题讨论】:
-
使用来自stackoverflow.com/questions/45344040/…的proguard配置
标签: android gradle proguard android-proguard