Proguard Error / Dalvik Error 1 al firmar la aplicación para Android
Antes de empezar, quería decir hola y gracias por leer esto, he tenido este problema para un poco y cualquier ayuda es apreciada!
He estado trabajando en este proyecto durante un buen tiempo, y ha estado probando perfectamente bien. Podría ejecutarlo y funciona en mi tableta Android, sin errores o nada. Pero cuando finalmente traté de liberarlo y entrar en "Herramientas de Android -> Exportar Firmado Aplicación", me fue devuelto con Dalvik Error 1 .
- Configuración de ProGuard con proyectos de la biblioteca de Android
- NoClassDefFoundError: android.support.design.internal.NavigationMenu en Android 4.2.2 (wiko)
- Proguard flag dontobfuscate causes Traducción interrumpida excepción
- Proguard con la colección parametrizada orrmlite
- Crashlytics: Usando el servidor de compilación para hacer una versión y cargar la distribución de una aplicación para Android
Traté de habilitar proguard, y me quedé con un montón de clases sin referenciar. Como:
[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)
Aunque me gustaría decir que estos no deberían existir, tengo las bibliotecas que creo que tienen estas clases que están "sin referencia". Aunque si alguien sabe dónde están estas clases y podría decirme, me gustaría que. Aunque estoy confundido sobre por qué esto también es un problema desde otra vez, esta aplicación ha funcionado bien antes de que tuviera que liberarlo, que siempre está en mi mente.
Tengo este proyecto con las bibliotecas actuales que se están utilizando, tal vez esto dará cualquier pista:
- SDK de Facebook
- Twitter4j
- Actividad de ZXing Scanne
He intentado desactivar proguard, lo que me da sólo un Dalvik Error. He intentado habilitarlo, dándome este error arriba. Mi Proguard está actualizado, está en 4.9 actualmente. He intentado agregar algunas cosas a la proguard como "ignora jaxax *". Lo que hizo que finalmente construir, pero que las aplicaciones se estrelló en el arranque con el mismo error que anteriormente, por desgracia.
Un poco más de información si es necesario, las herramientas de desarrollo de mi android es actualmente Build: v21.1.0-569685
Y mi tablet que ha estado ejecutando estas pruebas es un bonito pequeño Nexus 7.
Eso es todo lo que sé de que puedo lanzar a todo el mundo. Una vez más, muchas gracias por leer todo esto, lo agradezco solo. Y cualquier ayuda recomendada también será muy apreciada!
- Android - ¿Cómo comprobar la ofuscación Proguard ha funcionado?
- Configurar proguard para excluir jar biblioteca que se extiende android.content.Context
- Android Studio 1.0 'runProguard' vs 'minifyEnabled'
- Proguard con google-play-services
- ProGuard - org.codehaus.jackson.map.JsonMappingException: No se encontró ningún constructor adecuado para el tipo
- Desmarque TODOS los elementos de BottomNavigationView sin elemento ficticio o Reflexión
- Proguard devuelto con el código de error 1. Después de la actualización de ADT 16 a 18
- ¿Cómo configurar Proguard usando Gradle?
Si ve advertencias sobre clases que faltan en Eclipse, debe asegurarse de que todas las bibliotecas se exportan, por lo que se pasan a ProGuard y se incluyen en el apk resultante.
Si sigue recibiendo advertencias sobre clases que faltan, es posible que no estén presentes en Android, por ejemplo, java.rmi.Remote
. Al parecer, su aplicación no los utiliza de todos modos, por lo que puede decirle a ProGuard que está bien:
-dontwarn java.rmi.**
Consulte el manual de ProGuard> Solución de problemas> Advertencia: no se puede encontrar la clase referenciada .
Las clases como org.xml.sax.**
son un problema si se duplican entre las bibliotecas de aplicaciones y el tiempo de ejecución de Android. Debes eliminarlos de tus bibliotecas, ya que las versiones en el tiempo de ejecución de Android obtienen precedencia de todos modos.
Consulte el manual de ProGuard> Solución de problemas> Advertencia: la clase de biblioteca … depende de la clase de programa …
Además, debe asegurarse de que su archivo de configuración no contiene opciones -injars
o -libraryjars
. El proceso de creación de Eclipse ya especifica automáticamente todos los necesarios -injars
, -outjars
y -libraryjars
para usted.
Consulte el manual de ProGuard> Solución de problemas> Nota: definición duplicada de la clase de programa / biblioteca
- ¿Cuál es la causa de los picos de rendimiento periódicos que se ven al hacer el procesamiento de matriz de computación caro en el Nexus 4?
- El zócalo se atasca al hacer readLine ()