Proguard error code 1

Search This thread

frenzyboi

Senior Member
May 11, 2012
870
764
0
I met with an error while compiling with Google Services external jars.

I did not configure any proguards in my project. Proguards configuring is done by the Google .jar files themselves. I'm currently using the .jar files for Google Drive API.

Full log : http://pastebin.com/raw.php?i=PDVPpvy5

I have 0 knowledge of proguard and tried updating my Proguard like other thread suggested but it still meets with this error.
Please advise. Thanks!

Code:
[2013-10-19 23:39:30 - ContactsList] Proguard returned with error code 1. See console
[2013-10-19 23:39:30 - ContactsList] Note: there were 378 duplicate class definitions.
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find superclass or interface org.apache.james.mime4j.message.BodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find superclass or interface org.apache.james.mime4j.message.Multipart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.MinimalField: can't find superclass or interface org.apache.james.mime4j.parser.Field
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.content.AbstractContentBody: can't find superclass or interface org.apache.james.mime4j.message.SingleBody
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.content.ContentBody: can't find superclass or interface org.apache.james.mime4j.message.Body
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.content.ContentBody: can't find superclass or interface org.apache.james.mime4j.descriptor.ContentDescriptor
[2013-10-19 23:39:30 - ContactsList] Warning: library class android.net.http.AndroidHttpClient extends or implements program class org.apache.http.client.HttpClient
[2013-10-19 23:39:30 - ContactsList] Warning: library class android.test.AndroidTestCase extends or implements program class junit.framework.TestCase
[2013-10-19 23:39:30 - ContactsList] Warning: library class android.test.AndroidTestRunner extends or implements program class junit.runner.BaseTestRunner
[2013-10-19 23:39:30 - ContactsList] Warning: library class android.test.InstrumentationTestCase extends or implements program class junit.framework.TestCase
[2013-10-19 23:39:30 - ContactsList] Warning: library class android.test.InstrumentationTestSuite extends or implements program class junit.framework.TestSuite
[2013-10-19 23:39:30 - ContactsList] Warning: library class android.test.suitebuilder.TestSuiteBuilder$FailedToCreateTests extends or implements program class junit.framework.TestCase
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R$color
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R$drawable
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R$color
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R$color
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R$drawable
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R$drawable
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R$drawable
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R$drawable
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.internal.u: can't find referenced class com.google.android.gms.R$string
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.maps.GoogleMapOptions: can't find referenced class com.google.android.gms.R
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.maps.GoogleMapOptions: can't find referenced class com.google.android.gms.R$styleable
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.maps.GoogleMapOptions: can't find referenced class com.google.android.gms.R$styleable
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.maps.model.CameraPosition: can't find referenced class com.google.android.gms.R
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.maps.model.CameraPosition: can't find referenced class com.google.android.gms.R$styleable
[2013-10-19 23:39:30 - ContactsList] Warning: com.google.android.gms.maps.model.CameraPosition: can't find referenced class com.google.android.gms.R$styleable
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.client.protocol.RequestAddCookies: can't find referenced class org.apache.commons.logging.LogFactory
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.client.protocol.RequestAddCookies: can't find referenced class org.apache.commons.logging.LogFactory
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.client.protocol.RequestProxyAuthentication: can't find referenced class org.apache.commons.logging.LogFactory
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.client.protocol.RequestProxyAuthentication: can't find referenced class org.apache.commons.logging.LogFactory
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.client.protocol.RequestTargetAuthentication: can't find referenced class org.apache.commons.logging.LogFactory
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.client.protocol.RequestTargetAuthentication: can't find referenced class org.apache.commons.logging.LogFactory
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.client.protocol.ResponseProcessCookies: can't find referenced class org.apache.commons.logging.LogFactory
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.client.protocol.ResponseProcessCookies: can't find referenced class org.apache.commons.logging.LogFactory
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.message.BodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.message.Header
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.message.Header
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced method 'void setHeader(org.apache.james.mime4j.message.Header)' in program class org.apache.http.entity.mime.FormBodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced method 'void setBody(org.apache.james.mime4j.message.Body)' in program class org.apache.http.entity.mime.FormBodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.descriptor.ContentDescriptor
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.descriptor.ContentDescriptor
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.descriptor.ContentDescriptor
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced method 'org.apache.james.mime4j.message.Header getHeader()' in program class org.apache.http.entity.mime.FormBodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.message.Header
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.message.BodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.descriptor.ContentDescriptor
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.message.Header
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.descriptor.ContentDescriptor
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.descriptor.ContentDescriptor
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.descriptor.ContentDescriptor
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.FormBodyPart: can't find referenced class org.apache.james.mime4j.descriptor.ContentDescriptor
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteSequence
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.Multipart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced method 'org.apache.james.mime4j.message.Entity getParent()' in program class org.apache.http.entity.mime.HttpMultipart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.Entity
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.Header
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.field.ContentTypeField
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.field.ContentTypeField
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.CharsetUtil
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.field.ContentTypeField
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced method 'java.util.List getBodyParts()' in program class org.apache.http.entity.mime.HttpMultipart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced method 'java.lang.String getPreamble()' in program class org.apache.http.entity.mime.HttpMultipart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.BodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.BodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.Header
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.parser.Field
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.parser.Field
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.MessageWriter
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.BodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.MessageWriter
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced method 'java.lang.String getEpilogue()' in program class org.apache.http.entity.mime.HttpMultipart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.parser.Field
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.parser.Field
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced method 'long getContentLength()' in program class org.apache.http.entity.mime.content.ContentBody
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.Multipart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteSequence
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.Entity
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.Header
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.CharsetUtil
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.MessageWriter
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteSequence
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteSequence
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.Entity
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.field.ContentTypeField
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.Entity
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.field.ContentTypeField
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.parser.Field
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.BodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.Header
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.BodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.parser.Field
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.util.ByteArrayBuffer
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.parser.Field
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.BodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.BodyPart
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.HttpMultipart: can't find referenced class org.apache.james.mime4j.message.Body
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.MIME: can't find referenced class org.apache.james.mime4j.util.CharsetUtil
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.MIME: can't find referenced class org.apache.james.mime4j.util.CharsetUtil
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.MinimalField: can't find referenced class org.apache.james.mime4j.util.ContentUtil
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.MinimalField: can't find referenced class org.apache.james.mime4j.parser.Field
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.MinimalField: can't find referenced class org.apache.james.mime4j.util.ContentUtil
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.MinimalField: can't find referenced class org.apache.james.mime4j.util.ByteSequence
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.MinimalField: can't find referenced class org.apache.james.mime4j.util.ByteSequence
[2013-10-19 23:39:30 - ContactsList] Warning: org.apache.http.entity.mime.MultipartEntity: can't find referenced class org.apache.james.mime4j.message.Message
 

PicomatStudios

Senior Member
Sep 11, 2012
77
19
0
I met with an error while compiling with Google Services external jars.


Argh, proguard. Still - can't live without it.

It could be that you need to preserve some of your class names.

Part of proguard's job is to replace all your lovingly named code with classnames like 'a' and variable names like, er 'a'. Or 'b'.
Obviously once done your code is very hard to read should somebody choose to decompile it.

This is fine provided that identifiers get replaced consistently, everywhere.
It won't work if, for example, you reference package & class names from XML files (in which case you'll need to preserve the original name).

This is why you see this in the default proguard.cfg
# Keep class names ref'd from XML
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service


So for example if you use the facebook API and you're running proguard, you need something along the lines of:
-keep class com.facebook.** { *; }
in your proguard config

Depending on the nature of the dependency it's possible to preserve class names, interface names, public/private only and so on.

Could this be the case for you with your Google jars ?
 
  • Like
Reactions: nikwen

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I met with an error while compiling with Google Services external jars.


    Argh, proguard. Still - can't live without it.

    It could be that you need to preserve some of your class names.

    Part of proguard's job is to replace all your lovingly named code with classnames like 'a' and variable names like, er 'a'. Or 'b'.
    Obviously once done your code is very hard to read should somebody choose to decompile it.

    This is fine provided that identifiers get replaced consistently, everywhere.
    It won't work if, for example, you reference package & class names from XML files (in which case you'll need to preserve the original name).

    This is why you see this in the default proguard.cfg
    # Keep class names ref'd from XML
    -keep public class * extends android.app.Activity
    -keep public class * extends android.app.Application
    -keep public class * extends android.app.Service


    So for example if you use the facebook API and you're running proguard, you need something along the lines of:
    -keep class com.facebook.** { *; }
    in your proguard config

    Depending on the nature of the dependency it's possible to preserve class names, interface names, public/private only and so on.

    Could this be the case for you with your Google jars ?
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone