【发布时间】:2018-04-20 02:21:54
【问题描述】:
我正在尝试更改我的应用程序中的库版本,但我认为我正在与我正在使用的另一个库尝试使用的某个依赖项的另一个版本发生某种冲突。它警告我有关重复的类定义,但随后仅打印出下一个警告类别的特定示例(在本例中为未解析的类定义)。
...
:RedactedApp:proguardDebug
Note: there were 644 duplicate class definitions (http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass)
Warning: redacted.package.ClassName: can't find superclass or interface other.redacted.package.ClassName2
...
...
Warning: there were 12 unresolved references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with '-dontwarn' options.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
Warning: there were 5 unresolved references to library class members.
You probably need to update the library versions.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedlibraryclassmember)
有没有办法强制 proguard 实际打印出检测到的重复类的名称?我已经在我的 proguard 文件中启用了 -verbose。
【问题讨论】:
标签: android proguard android-proguard