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

后端 未结 5 2028
[愿得一人]
[愿得一人] 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:45

    In JDK1.8 two of the JAR files are in a different location to where Proguard expects them to be, symlinking them fixes it:

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

提交回复
热议问题