2013-05-14 74 views
4

在我開始之前,想打個招呼,感謝您閱讀本文,我已經遇到了相當多的問題,並且非常感謝您的幫助!Proguard Error/Dalvik錯誤1簽名Android應用程序時

我一直在這個項目上工作一段美好的時光,它一直在測試完美。我可以運行它,它可以在我的android平板電腦上運行,沒有任何錯誤或任何事情。但是當我終於試圖釋放它並進入「Android工具 - >導出簽名應用程序」時,我退回了Dalvik錯誤1

我試着啓用proguard,並留下了很多未解釋的類。如:

[2013-05-14 15:40:24 - MxlTestApp] Proguard returned with error code 1. See console 
[2013-05-14 15:40:24 - MxlTestApp] Note: there were 439 duplicate class definitions. 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.EJBHome: can't find superclass or interface java.rmi.Remote 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.EJBObject: can't find superclass or interface java.rmi.Remote 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find superclass or interface javax.management.DynamicMBean 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class android.net.http.AndroidHttpClient extends or implements program class org.apache.http.client.HttpClient 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class javax.xml.validation.ValidatorHandler extends or implements program class org.xml.sax.ContentHandler 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class org.xml.sax.ext.Attributes2 extends or implements program class org.xml.sax.Attributes 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class org.xml.sax.ext.Attributes2Impl extends or implements program class org.xml.sax.helpers.AttributesImpl 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class org.xml.sax.ext.DefaultHandler2 extends or implements program class org.xml.sax.helpers.DefaultHandler 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class org.xml.sax.ext.DefaultHandler2 extends or implements program class org.xml.sax.ext.LexicalHandler 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class org.xml.sax.ext.DefaultHandler2 extends or implements program class org.xml.sax.ext.DeclHandler 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class org.xml.sax.ext.EntityResolver2 extends or implements program class org.xml.sax.EntityResolver 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class org.xml.sax.ext.Locator2 extends or implements program class org.xml.sax.Locator 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class org.xml.sax.ext.Locator2Impl extends or implements program class org.xml.sax.helpers.LocatorImpl 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class org.xmlpull.v1.sax2.Driver extends or implements program class org.xml.sax.Locator 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class org.xmlpull.v1.sax2.Driver extends or implements program class org.xml.sax.XMLReader 
[2013-05-14 15:40:24 - MxlTestApp] Warning: library class org.xmlpull.v1.sax2.Driver extends or implements program class org.xml.sax.Attributes 
[2013-05-14 15:40:24 - MxlTestApp] Warning: Mxl.YoutubeChannel: can't find referenced method 'java.lang.String getTextContent()' in class org.w3c.dom.Node 
[2013-05-14 15:40:24 - MxlTestApp] Warning: com.sun.tools.xjc.Version: can't find referenced class sun.misc.Version 
[2013-05-14 15:40:24 - MxlTestApp] Warning: com.sun.tools.xjc.Version: can't find referenced class sun.misc.Version 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.EJBContext: can't find referenced class javax.transaction.UserTransaction 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.EJBHome: can't find referenced class java.rmi.Remote 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.EJBHome: can't find referenced class java.rmi.RemoteException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.EJBObject: can't find referenced class java.rmi.Remote 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.EJBObject: can't find referenced class java.rmi.RemoteException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.EntityBean: can't find referenced class java.rmi.RemoteException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.Handle: can't find referenced class java.rmi.RemoteException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.HomeHandle: can't find referenced class java.rmi.RemoteException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.SessionBean: can't find referenced class java.rmi.RemoteException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: javax.ejb.SessionSynchronization: can't find referenced class java.rmi.RemoteException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.client.protocol.RequestAddCookies: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.client.protocol.RequestAddCookies: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.client.protocol.RequestAuthCache: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.client.protocol.RequestAuthCache: can't find referenced class org.apache.commons.logging.LogFactory 

[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.IdleConnectionHandler: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.IdleConnectionHandler: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.InMemoryDnsResolver: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.InMemoryDnsResolver: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.PoolingClientConnectionManager: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.PoolingClientConnectionManager: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.SingleClientConnManager: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.SingleClientConnManager: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.tsccm.AbstractConnPool: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.tsccm.AbstractConnPool: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.tsccm.ConnPoolByRoute: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.tsccm.ConnPoolByRoute: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.tsccm.RouteSpecificPool: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.tsccm.RouteSpecificPool: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class java.lang.management.ManagementFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanServer 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class java.lang.management.ManagementFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanServer 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanServer 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.examples.oauth.GetAccessToken: can't find referenced class java.awt.Desktop 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.examples.oauth.GetAccessToken: can't find referenced class java.awt.Desktop 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.examples.oauth.GetAccessToken: can't find referenced class java.awt.Desktop 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.CommonsLoggingLoggerFactory: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.CommonsLoggingLoggerFactory: can't find referenced class org.apache.commons.logging.LogFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Level 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Level 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLoggerFactory: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.Log4JLoggerFactory: can't find referenced class org.apache.log4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLoggerFactory: can't find referenced class org.slf4j.LoggerFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.internal.logging.SLF4JLoggerFactory: can't find referenced class org.slf4j.LoggerFactory 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenDataException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanAttributeInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanConstructorInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanOperationInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.MBeanNotificationInfo 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.SimpleType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanAttributeInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanParameterInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanConstructorInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.SimpleType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanOperationInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularDataSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularDataSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeDataSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeDataSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularDataSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeNotFoundException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeNotFoundException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.Attribute 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.Attribute 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.ReflectionException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.ReflectionException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.SimpleType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.DynamicMBean 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.MBeanException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.InvalidAttributeValueException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.SimpleType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularType 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenDataException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.MBeanInfo 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanAttributeInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanConstructorInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanOperationInfoSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.MBeanNotificationInfo 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanParameterInfo 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularDataSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeData 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenDataException 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularDataSupport 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.Attribute 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.Attribute 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList 
[2013-05-14 15:40:24 - MxlTestApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList 
[2013-05-14 15:40:24 - MxlTestApp] Warning: there were 309 unresolved references to classes or interfaces. 
[2013-05-14 15:40:24 - MxlTestApp]   You may need to add missing library jars or update their versions. 
[2013-05-14 15:40:24 - MxlTestApp]   If your code works fine without the missing classes, you can suppress 
[2013-05-14 15:40:24 - MxlTestApp]   the warnings with '-dontwarn' options. 
[2013-05-14 15:40:24 - MxlTestApp] Warning: there were 13 instances of library classes depending on program classes. 
[2013-05-14 15:40:24 - MxlTestApp]   You must avoid such dependencies, since the program classes will 
[2013-05-14 15:40:24 - MxlTestApp]   be processed, while the library classes will remain unchanged. 
[2013-05-14 15:40:24 - MxlTestApp] Warning: there were 1 unresolved references to program class members. 
[2013-05-14 15:40:24 - MxlTestApp]   Your input classes appear to be inconsistent. 
[2013-05-14 15:40:24 - MxlTestApp]   You may need to recompile the code or update the library versions. 
[2013-05-14 15:40:24 - MxlTestApp]   Alternatively, you may have to specify the option 
[2013-05-14 15:40:24 - MxlTestApp]   '-dontskipnonpubliclibraryclassmembers'. 
[2013-05-14 15:40:24 - MxlTestApp] java.io.IOException: Please correct the above warnings first. 
[2013-05-14 15:40:24 - MxlTestApp] at proguard.Initializer.execute(Initializer.java:330) 
[2013-05-14 15:40:24 - MxlTestApp] at proguard.ProGuard.initialize(ProGuard.java:212) 
[2013-05-14 15:40:24 - MxlTestApp] at proguard.ProGuard.execute(ProGuard.java:87) 
[2013-05-14 15:40:24 - MxlTestApp] at proguard.ProGuard.main(ProGuard.java:484) 

雖然我想說,這些不應該存在的,我也有,我會相信有這些類是「未引用」庫。雖然如果有人知道這些課程在哪裏,並且可以告訴我,我想那樣。雖然我很困惑,爲什麼這也是一個問題,因爲這個應用程序在我不得不釋放它之前運行良好,這一直是我的想法。

我正在使用的這個項目與當前庫,這或許會放棄任何線索:

  • 的Facebook SDK
  • Twitter4j
  • 斑馬線Scanne活動

我已經嘗試禁用proguard,這給了我一個Dalvik錯誤。我試過啓用它,給了我上面的這個錯誤。我的Proguard是最新的,目前爲4.9。我已經嘗試向proguard添加一些內容,如「忽略jaxax *」。它最終建立了它,但是那些應用程序在啓動時崩潰,不幸的是上面有同樣的錯誤。

如果需要一些更多的信息,我的Android開發者工具是目前 體形:v21.1.0-569685

而且我的平板電腦,它已經運行這些測試是一個不錯的的Nexus 7

這是對所有我知道我可以拋給每個人。再次感謝您閱讀所有這些,我明白這一點。並建議任何幫助也將非常感激!

+1

首先要檢查將確保你在項目的Java構建路徑的排序和導出選項卡檢查庫。在導出應用程序並進行簡單調試時,構建過程有很大差異。其中一個重大差異是progaurd運行並將所有可能的東西去除並混淆代碼。 – Jyro117

+0

你正在使用哪個proguard版本? – Trinimon

+0

@ Jyro117得到了我的希望,因爲這些庫沒有在導出選項卡中被選中。這樣做,但不幸的是沒有成功,得到同樣的錯誤。我檢查了這些,並且如果發現任何燈光,jar文件都在我的項目的libs文件夾中。 – JallMyster

回答

0

如果您在Eclipse中看到關於缺少類的警告,則應確保所有庫都已導出,以便將它們傳遞給ProGuard幷包含在生成的apk中。

如果您仍然收到關於缺失類的警告,它們可能不會出現在Android上,例如, java.rmi.Remote。顯然,你的應用程序不無論如何使用它們,這樣你就可以告訴ProGuard的也沒關係:

-dontwarn java.rmi.** 

見的ProGuard手冊>故障排除>Warning: can't find referenced class

類似org.xml.sax.**的類如果在應用程序庫和Android運行時之間重複出現,則會出現問題。你應該從你的庫中移除它們,因爲無論如何,Android運行時的版本都會優先。

見的ProGuard手冊>故障排除>Warning: library class ... depends on program class ...

此外,您應該確保您的配置文件不包含-injars-libraryjars選項。 Eclipse構建過程已經自動爲您指定了所有必需的-injars,-outjars-libraryjars

見的ProGuard手冊>故障排除>Note: duplicate definition of program/library class