Proguard: can't find referenced class

前端 未结 5 1232
予麋鹿
予麋鹿 2021-01-04 11:00

There are a few questions around but no solution that works for me. I thought it was suppose to be easy to use. I just get a console full of can\'t find referenced cla

5条回答
  •  北海茫月
    2021-01-04 11:22

    Add to your config:

    -libraryjars org.apache.jar // name of your jars.
    -libraryjars org.w3c.jar
    

    If it does not help add:

    -dontwarn org.apache.** tag
    

    or just ignore warnings (highly unrecommended since it could cause your app to crash at runtime over unsatisfied dependencies):

    -ignorewarnings 
    

    This doc will help you : http://proguard.sourceforge.net/manual/troubleshooting.html

提交回复
热议问题