Error Proguard Unsupported class version number

后端 未结 4 559
名媛妹妹
名媛妹妹 2020-12-16 10:54

I get always this erroe when I try to obfuscate an App with proguard

Error:ProGuard: [MyApp] java.io.IOException: Can\'t read [C:\\Program Files\\Java\\jdk1.         


        
4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-16 11:33

    ProGuard has not been updated yet to support Java 8.

    An issue has already been raised against ProGuard.

    Eric Lafortune (ProGuard developer) noted back in October 2013

    I'm very busy at the moment, so realistically I won't be able to complete this in the short term, sorry. I'm keeping an eye on the developments though.

    He also said

    ProGuard probably works on class files that only use older features if you change or disable ClassUtil#checkVersionNumbers.

提交回复
热议问题