I am trying to export my application with Proguard enabled, but the following errors occur when exporting:
[2015-05-14 11:03:08 - MonitorMaster] Proguard returned with error code 1. See console
[2015-05-14 11:03:08 - MonitorMaster] Warning: org.apache.harmony.awt.datatransfer.DataProxy: can't find superclass or interface java.awt.datatransfer.Transferable
[2015-05-14 11:03:08 - MonitorMaster] Warning: org.apache.harmony.awt.datatransfer.NativeClipboard: can't find superclass or interface java.awt.datatransfer.Clipboard
[2015-05-14 11:03:08 - MonitorMaster] Warning: com.sun.mail.imap.protocol.IMAPSaslAuthenticator: can't find referenced class javax.security.sasl.Sasl
[2015-05-14 11:03:08 - MonitorMaster] Warning: javax.activation.CommandInfo: can't find referenced class java.beans.Beans
[2015-05-14 11:03:08 - MonitorMaster] Warning: org.apache.harmony.awt.ContextStorage: can't find referenced class java.awt.Toolkit
[2015-05-14 11:03:08 - MonitorMaster] Warning: org.apache.harmony.awt.datatransfer.DataSource: can't find referenced class java.awt.datatransfer.Transferable
[2015-05-14 11:03:08 - MonitorMaster] Warning: org.apache.harmony.awt.datatransfer.DataSource: can't find referenced class java.awt.Image
[2015-05-14 11:03:08 - MonitorMaster] Warning: org.apache.harmony.awt.datatransfer.TextFlavor: can't find referenced class java.awt.datatransfer.SystemFlavorMap
[2015-05-14 11:03:08 - MonitorMaster] You should check if you need to specify additional program jars.
[2015-05-14 11:03:08 - MonitorMaster] Warning: there were 247 unresolved references to classes or interfaces.
[2015-05-14 11:03:08 - MonitorMaster] You may need to specify additional library jars (using '-libraryjars').
[2015-05-14 11:03:08 - MonitorMaster] java.io.IOException: Please correct the above warnings first.
[2015-05-14 11:03:08 - MonitorMaster] at proguard.Initializer.execute(Initializer.java:321)
[2015-05-14 11:03:08 - MonitorMaster] at proguard.ProGuard.initialize(ProGuard.java:211)
[2015-05-14 11:03:08 - MonitorMaster] at proguard.ProGuard.execute(ProGuard.java:86)
[2015-05-14 11:03:08 - MonitorMaster] at proguard.ProGuard.main(ProGuard.java:492)
I add this code to mu proguard.cfg, but not worked
-dontwarn org.apache.**