2017-10-25 6 views
1

私はproguardを使って自分のプラグインを難読化したい。 しかし、「プロセス」を押すとこのエラーが表示されます:ProGuardGUI私のコードを難読化するのに助けが必要

ProGuard, version 5.3.3 
Reading program jar [C:\Users\Nico\Desktop\BlockParty.jar] 
Reading library jar [C:\Program Files\Java\jre1.8.0_141\lib\rt.jar] 
Reading library jar [C:\Users\Nico\Desktop\spigot-1.8.8.jar] 
Reading library jar [C:\Users\Nico\Desktop\worldedit-bukkit-6.1.jar] 
Note: duplicate definition of library class [javax.annotation.meta.When] 
Warning: class [nmsblocks/CBXNmsBlock_1710.class] unexpectedly contains class [CBXNmsBlock_1710] 
Note: there were 1 duplicate class definitions. 
    (http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass) 
Warning: there were 1 classes in incorrectly named files. 
    You should make sure all file names correspond to their class names. 
    The directory hierarchies must correspond to the package hierarchies. 
    (http://proguard.sourceforge.net/manual/troubleshooting.html#unexpectedclass) 
    If you don't mind the mentioned classes not being written out, 
    you could try your luck using the '-ignorewarnings' option. 
Please correct the above warnings first. 

「-ignorewarnings」オプションはどこに追加できますか?私はProGuard GUIを使用しています。

答えて

3

私はまた、あなたはerrorについて読むべきで、なぜそれが表示されることがthis

を探していると思います。あなたの答えの重要な部分のためのリンクのみを掲載避けてください

-dontwarn android.databinding.** 
-keep class android.databinding.** { *; } 
+0

あなたのproguard.cfgへ-ignorewarningsを追加することができたり、別の解決策は、これを追加することができます! – Kerooker