Android Proguard java.io.IOException: Can't read [proguard.ClassPathEntry

后端 未结 5 2017
[愿得一人]
[愿得一人] 2020-12-31 09:21

Hi All When enabing proguard for android, while building the signed jar I get the following dump:

[2011-02-03 11:28:27 - VideoCreator] Proguard returned with         


        
5条回答
  •  暖寄归人
    2020-12-31 09:50

    Updating ProGuard did help to track down the problem. In my case it was to do with the JDK configuration on my Mac and the rt.jar and jsse.jar files not being located in the usual place.

    I found the solution here.

    cd $JAVA_HOME/lib
    sudo ln -s ../../Classes/classes.jar rt.jar
    sudo ln -s ../../Classes/jsse.jar .
    

提交回复
热议问题