我试图contribute to the Parceler library,但我遇到了maven android插件,混淆和jdk8的问题。
众所周知issue我已尝试通过安装最新工具和specifying特定proguard.jar
路径来解决此问题。但看起来它仍然是failing。所以看看有人能带领我朝着正确的方向前进。
与此同时,我正在挖掘更多。
UPD 这是我的错误:
Caused by: java.io.IOException: Can't process class [com/oracle/net/Sdp$1.class] (Unsupported class version number [52.0] (maximum 51.0, Java 1.7))
[INFO] at proguard.io.ClassReader.read(ClassReader.java:112)
[INFO] at proguard.io.FilteredDataEntryReader.read(FilteredDataEntryReader.java:87)
[INFO] at proguard.io.JarReader.read(JarReader.java:65)
[INFO] at proguard.io.DirectoryPump.readFiles(DirectoryPump.java:65)
[INFO] at proguard.io.DirectoryPump.pumpDataEntries(DirectoryPump.java:53)
[INFO] at proguard.InputReader.readInput(InputReader.java:226)
[INFO] ... 6 more
[INFO] Caused by: java.lang.UnsupportedOperationException: Unsupported class version number [52.0] (maximum 51.0, Java 1.7)
[INFO] at proguard.classfile.util.ClassUtil.checkVersionNumbers(ClassUtil.java:140)
[INFO] at proguard.classfile.io.LibraryClassReader.visitLibraryClass(LibraryClassReader.java:89)
[INFO] at proguard.classfile.LibraryClass.accept(LibraryClass.java:301)
[INFO] at proguard.io.ClassReader.read(ClassReader.java:86)
[INFO] ... 11 more
答案 0 :(得分:0)
将ProGuard更新到Android SDK'工具中的最新版本'链接http://proguard.sourceforge.net/downloads.html
中的文件夹