Proguard 关于重复 class 定义的警告,但不会打印出重复的 classes
Proguard warnings about duplicate class definitions, but doesn't print out the duplicate classes
我正在尝试更改我的应用程序中库的版本,但我认为我正在与我正在使用的另一个库试图使用的某些依赖项的另一个版本发生某种冲突。它警告我有关重复的 class 定义,但随后仅打印出下一个警告类别的特定示例(在本例中为未解决的 class 定义)。
...
: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 实际打印出检测到的重复 classes 的名称?我已经在我的 proguard 文件中启用了 -verbose。
虽然我找不到让 proguard 实际打印出副本 类 的方法,但我能够通过 gradle (2.9) 命令更好地了解依赖项:
gradle -q dependencies :RedactedAppName:dependencies --configuration compile
这给了我一个很好的图形视图,让我看到我有很多冗余导入。
我正在尝试更改我的应用程序中库的版本,但我认为我正在与我正在使用的另一个库试图使用的某些依赖项的另一个版本发生某种冲突。它警告我有关重复的 class 定义,但随后仅打印出下一个警告类别的特定示例(在本例中为未解决的 class 定义)。
...
: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 实际打印出检测到的重复 classes 的名称?我已经在我的 proguard 文件中启用了 -verbose。
虽然我找不到让 proguard 实际打印出副本 类 的方法,但我能够通过 gradle (2.9) 命令更好地了解依赖项:
gradle -q dependencies :RedactedAppName:dependencies --configuration compile
这给了我一个很好的图形视图,让我看到我有很多冗余导入。