Error: Can't find common super class of

后端 未结 4 1481
清酒与你
清酒与你 2021-01-02 03:14

I am trying to process with Proguard a MS Windows desktop application (Java 6 SE using the SWT lib provided by Eclipse). And I get the following critical error:



        
4条回答
  •  旧时难觅i
    2021-01-02 03:55

    Try adding the option -dontskipnonpubliclibraryclasses to your command line.

    From the Proguard Manual:

    Limitations

    For efficiency, ProGuard always ignores any private or package visible library classes while reading library jars. If any of them are extended by public library classes, and then extended again by input classes, ProGuard will complain it can't find them. In that case, you'll have to use the -dontskipnonpubliclibraryclasses option, and maybe even the -dontskipnonpubliclibraryclassmembers option. The graphical user interface has checkboxes for these settings.

提交回复
热议问题