Netbeans. Obfuscator type (PROGUARD) is not found in obfuscator classpath

自古美人都是妖i 提交于 2019-12-12 18:27:24

问题


I'm trying to build my project obfuscated but It's not working. I get this warning: Obfuscator type (PROGUARD) is not found in obfuscator classpath, using NONE. Please use Plugins Manager to install the missing obfuscator library. I looked at the plugins option but I don't know how to add proguard.


回答1:


Goto the Tools > Plugins then goto Available Plugins tab and search for Proguard you will have that listed. Tick the checkbox that follows it and press install.

You can see the screenshot below.

EDIT if you are unable to follow above steps then this might help you

  1. http://netbeans.dzone.com/tips/obfuscating-netbeans-java-appl
  2. http://blogs.oracle.com/geertjan/entry/obfuscation

I took the links from this question.




回答2:


I have followed the steps here: http://mikkonieminen.blogspot.co.uk/2013/04/netbeans-73-proguard.html and it worked... I don't speak Finnish, but I think from the screenshots you can understand to add the beta2 repositiory for modules and then you can download the proguard plugin. Good luck! Gergo




回答3:


If the proguard plugin is unavailable, you can add this plugin repository catalog at netbeans plugins:
http://dlc.sun.com.edgesuite.net/netbeans/updates/7.3/uc/beta2/certified/catalog.xml

After installing proguard plugin, restart netbeans just to make it sure.



来源:https://stackoverflow.com/questions/15140075/netbeans-obfuscator-type-proguard-is-not-found-in-obfuscator-classpath

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!