In my Android app, I use some libs of Amazon:
aws-android-sdk-cognito-2.2.2.jar,
aws-android-sdk-core-2.2.2.jar,
aws-android-sdk-ddb-2.2.2.jar,
aws-android-sdk-ddb-mapper-2.2.2.jar,
aws-android-sdk-sns-2.2.2.jar,
aws-android-sdk-s3-2.2.2.jar
When I export apk file with Proguard enabled and empty file proguard-project.txt I got these errors:
[2015-09-11 09:30:32 - MainActivity] Warning:
com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.model.GetQueueAttributesRequest
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.model.GetQueueAttributesRequest
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.model.QueueAttributeName
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.model.QueueAttributeName
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.model.QueueAttributeName
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.model.GetQueueAttributesRequest
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.AmazonSQS
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.AmazonSQS
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.model.GetQueueAttributesResult
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.model.GetQueueAttributesResult
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.model.QueueAttributeName
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.model.SetQueueAttributesRequest
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.model.SetQueueAttributesRequest
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.AmazonSQS
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.AmazonSQS
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.services.sns.util.Topics: can't find referenced class com.amazonaws.services.sqs.AmazonSQS
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-09-11 09:30:32 - MainActivity] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-09-11 09:30:32 - MainActivity] You should check if you need to specify additional program jars.
[2015-09-11 09:30:32 - MainActivity] Warning: there were 78 unresolved references to classes or interfaces.
[2015-09-11 09:30:32 - MainActivity] You may need to specify additional library jars (using '-libraryjars').
[2015-09-11 09:30:32 - MainActivity] java.io.IOException: Please correct the above warnings first.
[2015-09-11 09:30:32 - MainActivity] at proguard.Initializer.execute(Initializer.java:321)
[2015-09-11 09:30:32 - MainActivity] at proguard.ProGuard.initialize(ProGuard.java:211)
[2015-09-11 09:30:32 - MainActivity] at proguard.ProGuard.execute(ProGuard.java:86)
[2015-09-11 09:30:32 - MainActivity] at proguard.ProGuard.main(ProGuard.java:492)
Please help me how to configure Proguard in this situation!
EDIT: I use Eclipse.
These warnings are due to missing class references. The way the SDK is packaged may cause warnings during proguard. However, these unresolved classes have no impact to the SDK. You can safely ignore them. Here is a minimal proguard configure to suppress them.
-keep class com.amazonaws.** { *; }
-keepnames class com.amazonaws.** { *; }
-dontwarn com.amazonaws.**
-dontwarn com.fasterxml.**
See Proguard's trouble shooting for more details.
You are missing the dependencies which the aws android sdk depends on.
If you are using gradle, instead of getting the jar by yourself, you should import it like this, which gradle would handle the transitive dependencies for you. Like this:
compile 'com.amazonaws:aws-android-sdk-core:2.+'
compile 'com.amazonaws:aws-android-sdk-cognito:2.+'
compile 'com.amazonaws:aws-android-sdk-s3:2.+'
compile 'com.amazonaws:aws-android-sdk-ddb:2.+'
setup guide of AWS
http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/setup.html
If you are using Eclipse, you have to find the library yourself. You are missing aws sqs and jackson
Related
I am using aws sdk jar files in android to upload the file but i am not able to generate the signed apk with proguard , i am getting below warnings. i have used
aws-android-sdk-core-2.2.9.jar and aws-android-sdk-s3-2.2.9.jar
and i am getting below , please anyone guide me?
Proguard returned with error code 1. See console
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.AmazonWebServiceClient: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.AmazonWebServiceClient: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.AWS3Signer: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.AWS3Signer: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.AWS4Signer: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.AWS4Signer: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.AWSCredentialsProviderChain: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.AWSCredentialsProviderChain: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.AwsChunkedEncodingInputStream: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.AwsChunkedEncodingInputStream: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.DecodedStreamBuffer: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.DecodedStreamBuffer: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.policy.internal.JsonPolicyWriter: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.auth.policy.internal.JsonPolicyWriter: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.event.ProgressListenerChain: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.event.ProgressListenerChain: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.AmazonHttpClient: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.AmazonHttpClient: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.AmazonHttpClient: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.DefaultErrorResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.DefaultErrorResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.HttpMethodReleaseInputStream: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.HttpMethodReleaseInputStream: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.IdleConnectionReaper: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.IdleConnectionReaper: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.JsonResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.JsonResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.RepeatableInputStreamRequestEntity: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.RepeatableInputStreamRequestEntity: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.StaxResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.StaxResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.conn.ClientConnectionManagerFactory: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.conn.ClientConnectionManagerFactory: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.conn.ClientConnectionRequestFactory: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.http.conn.ClientConnectionRequestFactory: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.internal.SdkInputStream: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.internal.SdkInputStream: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.internal.config.InternalConfig: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.internal.config.InternalConfig: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.metrics.AwsSdkMetrics: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.metrics.AwsSdkMetrics: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.metrics.ServiceLatencyProvider: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.metrics.ServiceLatencyProvider: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.mobileconnectors.s3.transfermanager.TransferManager: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.mobileconnectors.s3.transfermanager.TransferManager: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.mobileconnectors.s3.transfermanager.TransferProgress: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.mobileconnectors.s3.transfermanager.TransferProgress: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.mobileconnectors.s3.transfermanager.internal.CopyCallable: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.mobileconnectors.s3.transfermanager.internal.CopyCallable: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.mobileconnectors.s3.transfermanager.internal.UploadCallable: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.mobileconnectors.s3.transfermanager.internal.UploadCallable: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.mobileconnectors.s3.transfermanager.internal.UploadMonitor: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.mobileconnectors.s3.transfermanager.internal.UploadMonitor: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.regions.RegionUtils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.regions.RegionUtils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.AmazonS3Client: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.AmazonS3Client: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.AbstractS3ResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.AbstractS3ResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.Constants: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.Constants: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.Mimetypes: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.Mimetypes: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.ObjectExpirationHeaderHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.ObjectExpirationHeaderHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.ObjectRestoreHeaderHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.ObjectRestoreHeaderHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.RepeatableFileInputStream: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.RepeatableFileInputStream: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.S3ErrorResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.S3ErrorResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.S3Signer: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.S3Signer: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.S3XmlResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.S3XmlResponseHandler: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.ServiceUtils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.ServiceUtils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.crypto.CryptoRuntime: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.crypto.CryptoRuntime: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.crypto.S3CryptoModuleBase: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.internal.crypto.S3CryptoModuleBase: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.model.S3ObjectInputStream: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.model.S3ObjectInputStream: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.transform.SimpleTypeStaxUnmarshallers: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.transform.SimpleTypeStaxUnmarshallers: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.AWSRequestMetricsFullSupport: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.AWSRequestMetricsFullSupport: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.AWSRequestMetricsFullSupport: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.AwsHostNameUtils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.AwsHostNameUtils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.Md5Utils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.Md5Utils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.Throwables: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.Throwables: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.TimingInfoFullSupport: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.TimingInfoFullSupport: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.VersionInfoUtils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.VersionInfoUtils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.XpathUtils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.XpathUtils: can't find referenced class org.apache.commons.logging.LogFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$1: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonParser
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonReader: can't find referenced class com.fasterxml.jackson.core.JsonToken
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonGenerator
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-12-30 17:49:46 - TheGrooveBos] Warning: com.amazonaws.util.json.JacksonFactory$JacksonWriter: can't find referenced class com.fasterxml.jackson.core.JsonFactory
[2015-12-30 17:49:46 - TheGrooveBos] You should check if you need to specify additional program jars.
[2015-12-30 17:49:46 - TheGrooveBos] Warning: there were 164 unresolved references to classes or interfaces.
[2015-12-30 17:49:46 - TheGrooveBos] You may need to specify additional library jars (using '-libraryjars').
[2015-12-30 17:49:46 - TheGrooveBos] java.io.IOException: Please correct the above warnings first.
[2015-12-30 17:49:46 - TheGrooveBos] at proguard.Initializer.execute(Initializer.java:321)
[2015-12-30 17:49:46 - TheGrooveBos] at proguard.ProGuard.initialize(ProGuard.java:211)
[2015-12-30 17:49:46 - TheGrooveBos] at proguard.ProGuard.execute(ProGuard.java:86)
[2015-12-30 17:49:46 - TheGrooveBos] at proguard.ProGuard.main(ProGuard.java:492)
Proguard file
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
-keep class com.google.android.gms.** { *; }
-dontwarn com.google.android.gms.**
-dontwarn com.squareup.picasso.**
-keep class com.squareup.okhttp.** { *; }
-keep interface com.squareup.okhttp.** { *; }
-dontwarn com.squareup.okhttp.**
-dontwarn rx.**
-dontwarn retrofit.**
-dontwarn okio.**
-keepattributes Signature
keep class org.apache.commons.logging.** { *; }
-keep class com.amazonaws.services.sqs.QueueUrlHandler { *; }
-keep class com.amazonaws.javax.xml.transform.sax.* { public *; }
-keep class com.amazonaws.javax.xml.stream.** { *; }
-keep class com.amazonaws.services.**.model.*Exception* { *; }
-keep class org.codehaus.** { *; }
-keepattributes Signature,*Annotation*
-dontwarn javax.xml.stream.events.**
-dontwarn org.codehaus.jackson.**
-dontwarn org.apache.commons.logging.impl.**
-dontwarn org.apache.http.conn.scheme.**
-keepattributes Exceptions
-keep class retrofit.** { *; }
-keepclasseswithmembers class * {
#retrofit.http.* <methods>;
}
#}
I believe this is the same question asked on github https://github.com/awslabs/aws-sdk-android-samples/issues/39. Please refer to the latest instruction here https://github.com/aws/aws-sdk-android/blob/master/Proguard.md.
[2014-07-15 23:57:43 - MozMeet] Proguard returned with error code 1. See console
[2014-07-15 23:57:43 - MozMeet] Note: there were 662 duplicate class definitions.
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$1: can't find superclass or interface com.facebook.android.Facebook$ServiceListener
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find superclass or interface com.facebook.Session$StatusCallback
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find superclass or interface com.facebook.Request$Callback
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SharedPreferencesTokenCachingStrategy
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SharedPreferencesTokenCachingStrategy
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SessionState
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SessionState
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook$ServiceListener
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$StatusCallback
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SessionDefaultAudience
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.Facebook$ServiceListener
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.Facebook
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.FacebookError
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.FacebookError
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session$StatusCallback
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request$Callback
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.FacebookRequestError
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.model.GraphObject
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Request$Callback
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.FacebookRequestError
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.model.GraphObject
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Request
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.android.Facebook
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.android.Facebook
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.android.Facebook
[2014-07-15 23:57:43 - MozMeet] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.OkHttpClient
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.OkHttpClient
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.OkUrlFactory
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.Cache
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.Cache
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.OkHttpClient
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.OkUrlFactory
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.OkUrlFactory
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.OkUrlFactory
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.OkUrlFactory
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.OkHttpClient
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.OkHttpClient
[2014-07-15 23:57:43 - MozMeet] Warning: com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.OkHttpClient
[2014-07-15 23:57:43 - MozMeet] You should check if you need to specify additional program jars.
[2014-07-15 23:57:43 - MozMeet] Warning: there were 95 unresolved references to classes or interfaces.
[2014-07-15 23:57:43 - MozMeet] You may need to specify additional library jars (using '-libraryjars').
[2014-07-15 23:57:43 - MozMeet] Error: Please correct the above warnings first.
This is the list of errors that I get when I try to export my Android app with ProGuard enabled. A little bit of Googling and I found that I need to add jar files to the proguard-project.txt. So far what I have added looks like this (but to no avail):
-keepattributes SourceFile,LineNumberTable
-keep class com.parse.*{ *; }
-libraryjars \libs\Parse-1.5.1.jar
-keepclasseswithmembernames class * {
native <methods>;
}
I also have 3 more libraries along with Parse namely Crashlytics, Picasso and V4 Support.
Made a few changes to proguard-project.txt file (if you have more than one module in your project - put it in the module which calls the *.jar file you are getting warned about):
-keepattributes SourceFile,LineNumberTable
-keep class com.parse.*{ *; }
-dontwarn com.parse.**
-dontwarn com.squareup.picasso.**
-keepclasseswithmembernames class * {
native <methods>;
}
The -dontwarn lines were needed. Basically what they tell ProGuard is that these jars work fine on their own so don't complain when you cannot find the classes they reference.
Have been battling with Proguard all day and have tried many examples and solutions on the official Proguard site as well as StackOverflow.
I have a large project I need to obfuscate, which has a number of referenced library projects and Jars.
I am getting 725 warnings from proguard from 2 libs, com.google.common and twitter4j.
I can happily get the project to compile if I add the following:
-dontwarn com.google.common.**
-dontwarn twitter4j.**
However, the app crashes instantly on open, so this seems to just be a way of hiding an issue, not fixing it.
The proguard-project.txt is in the project root and its config is in the project.properties file as below.
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
Here is my proguard-project.txt file
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-dontshrink
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService
-keep class javax.** { *; }
-keep class org.** { *; }
-keep class twitter4j.** { *; }
-keep class com.google.code.** { *; }
-keep class java.lang.management.** { *; }
-keep class com.google.common.** { *; }
-libraryjars C:/adt-bundle-windows/sdk/platforms/android-19/android.jar
-libraryjars C:/adt-bundle-windows/sdk/extras/android/support/v4/android-support-v4.jar
-libraryjars C:/svn/android/MyAppLib/trunk/libs/commons-codec.jar
-libraryjars C:/svn/android/MyAppLib/trunk/libs/sqlcipher.jar
-libraryjars C:/svn/android/MyAppLib/trunk/libs/twitter4j-core-3.0.3.jar
-libraryjars C:/svn/android/MyAppLib/trunk/libs/guava-r09.jar
-libraryjars C:/adt-bundle-windows/sdk/platforms/android-19/android.jar
-libraryjars C:/adt-bundle-windows/sdk/extras/android/support/v4/android-support-v4.jar
-libraryjars C:/adt-bundle-windows/sdk/add-ons/addon-google_apis-google-19/libs/maps.jar
-libraryjars C:/adt-bundle-windows/sdk/add-ons/addon-google_apis-google-19/libs/effects.jar
-libraryjars C:/adt-bundle-windows/sdk/add-ons/addon-google_apis-google-19/libs/usb.jar
-keep public class * extends android.view.View {
public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
public void set*(...);
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers class * extends android.content.Context {
public void *(android.view.View);
public void *(android.view.MenuItem);
}
-keepclassmembers class * implements android.os.Parcelable {
static ** CREATOR;
}
-keepclassmembers class **.R$* {
public static <fields>;
}
-keepclassmembers class * {
#android.webkit.JavascriptInterface <methods>;
}
-dontwarn android.support.**
And Here is the truncated error log
[2014-01-13 14:00:07 - MyApp] Proguard returned with error code 1. See console
[2014-01-13 14:00:07 - MyApp] Note: there were 9032 duplicate class definitions.
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find superclass or interface javax.management.DynamicMBean
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Equivalence: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Equivalence: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Equivalence: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Equivalences$Impl$1: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Equivalences$Impl$1: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Equivalences$Impl$1: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Equivalences$Impl$2: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Equivalences$Impl$2: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Equivalences$Impl$2: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Function: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Function: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Functions: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Functions: can't find referenced class javax.annotation.Nullable
[2014-01-13 14:00:07 - MyApp] Warning: com.google.common.base.Functions$ConstantFunction: can't find referenced class javax.annotation.Nullable
*********************************** ANOTHER 500 LINES OF com.google.common ERRORS ******************************************
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class java.lang.management.ManagementFactory
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanServer
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class java.lang.management.ManagementFactory
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanServer
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanServer
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.CommonsLoggingLoggerFactory: can't find referenced class org.apache.commons.logging.LogFactory
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.CommonsLoggingLoggerFactory: can't find referenced class org.apache.commons.logging.LogFactory
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Level
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Level
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLoggerFactory: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.Log4JLoggerFactory: can't find referenced class org.apache.log4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLoggerFactory: can't find referenced class org.slf4j.LoggerFactory
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.internal.logging.SLF4JLoggerFactory: can't find referenced class org.slf4j.LoggerFactory
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeType
[2014-01-13 14:00:07 - MyApp] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeType
*********************************** ANOTHER 500 LINES OF twitter4j ERRORS ******************************************
[2014-01-13 14:00:07 - MyApp] You should check if you need to specify additional program jars.
[2014-01-13 14:00:07 - MyApp] Warning: there were 725 unresolved references to classes or interfaces.
[2014-01-13 14:00:07 - MyApp] You may need to specify additional library jars (using '-libraryjars').
[2014-01-13 14:00:07 - MyApp] java.io.IOException: Please correct the above warnings first.
[2014-01-13 14:00:07 - MyApp] at proguard.Initializer.execute(Initializer.java:321)
[2014-01-13 14:00:07 - MyApp] at proguard.ProGuard.initialize(ProGuard.java:211)
[2014-01-13 14:00:07 - MyApp] at proguard.ProGuard.execute(ProGuard.java:86)
[2014-01-13 14:00:07 - MyApp] at proguard.ProGuard.main(ProGuard.java:492)
EDIT** Stack trace from crash, clearer now that it is linked to sqlcipher
E/Database(18203): Can't find SQLiteDatabase.mNativeHandle
E/Cursor(18203): Can't find net/sqlcipher/database/SQLiteCompiledSql
E/Cursor(18203): Can't find net/sqlcipher/database/SQLiteQuery
E/Cursor(18203): Can't find net/sqlcipher/database/SQLiteProgram
E/Cursor(18203): Can't find net/sqlcipher/database/SQLiteStatement
E/CursorWindow(18203): Can't find net/sqlcipher/CursorWindow
D/AndroidRuntime(18203): Shutting down VM
W/dalvikvm(18203): threadid=1: thread exiting with uncaught exception (group=0x415e9ba8)
E/AndroidRuntime(18203): FATAL EXCEPTION: main
E/AndroidRuntime(18203): Process: com.mycompany.android.myapp, PID: 18203
E/AndroidRuntime(18203): java.lang.NoClassDefFoundError: net/sqlcipher/CursorWindow
E/AndroidRuntime(18203): at java.lang.Runtime.nativeLoad(Native Method)
E/AndroidRuntime(18203): at java.lang.Runtime.doLoad(Runtime.java:421)
E/AndroidRuntime(18203): at java.lang.Runtime.loadLibrary(Runtime.java:362)
E/AndroidRuntime(18203): at java.lang.System.loadLibrary(System.java:526)
E/AndroidRuntime(18203): at net.sqlcipher.database.SQLiteDatabase.a(Unknown Source)
E/AndroidRuntime(18203): at net.sqlcipher.database.SQLiteDatabase.a(Unknown Source)
E/AndroidRuntime(18203): at com.mycompany.android.myapplib.sqlite.MyProvider.onCreate(Unknown Source)
E/AndroidRuntime(18203): at android.content.ContentProvider.attachInfo(ContentProvider.java:1591)
E/AndroidRuntime(18203): at android.content.ContentProvider.attachInfo(ContentProvider.java:1562)
E/AndroidRuntime(18203): at android.app.ActivityThread.installProvider(ActivityThread.java:4790)
E/AndroidRuntime(18203): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4385)
E/AndroidRuntime(18203): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4325)
E/AndroidRuntime(18203): at android.app.ActivityThread.access$1500(ActivityThread.java:135)
E/AndroidRuntime(18203): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
E/AndroidRuntime(18203): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(18203): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(18203): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/AndroidRuntime(18203): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(18203): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(18203): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime(18203): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
E/AndroidRuntime(18203): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(18203): Caused by: java.lang.NoClassDefFoundError: net/sqlcipher/database/SQLiteStatement
E/AndroidRuntime(18203): ... 22 more
E/AndroidRuntime(18203): Caused by: java.lang.NoClassDefFoundError: net/sqlcipher/database/SQLiteProgram
E/AndroidRuntime(18203): ... 22 more
E/AndroidRuntime(18203): Caused by: java.lang.NoClassDefFoundError: net/sqlcipher/database/SQLiteQuery
E/AndroidRuntime(18203): ... 22 more
E/AndroidRuntime(18203): Caused by: java.lang.NoClassDefFoundError: net/sqlcipher/database/SQLiteCompiledSql
E/AndroidRuntime(18203): ... 22 more
E/AndroidRuntime(18203): Caused by: java.lang.NoSuchFieldError: no field with name='mNativeHandle' signature='I' in class Lnet/sqlcipher/database/SQLiteDatabase;
E/AndroidRuntime(18203): ... 22 more
These are the config I've used in the past for SQLcipher
-keep public class net.sqlcipher.** {
*;
}
-keep public class net.sqlcipher.database.** {
*;
}
I'll suggest you to add thoses 2 lines in your proguard file :
-dontwarn javax.management.**
-dontwarn org.apache.commons.logging.**
-keep class net.sqlcipher.** { *; }
-dontwarn net.sqlcipher.**
For more information
I try to build Google Drive SDK examples in Eclipse v22.01:
(The example website is as follows:)
https://developers.google.com/drive/quickstart-android
When I used debug build,it builded fine and executed fine on my table device.
However, when I tried to build it on release mode, I failed.
My process is as follows:
1. Go to "File"->"Export"
2. Create private keystore (This step succeeded.)
3. Build apk
I've checked the post Update your Proguard and downloaded and replaced jars in Proguard
I also checked the postCheck the '"Android Private Libraries' and checked items on "Order and Export" tab. But Still failed.
[Edit 1] I found the solution.
Just Uncheck the 'Drive API' (See the picture for reference)
(I am not sure if 'Android Dependencies' is needed or not. Maybe this could also be unchecked.)
I also add '-dontwarn com.google.**' to 'proguard-android.txt'
And then it worked.
Here are the errors messages I got:
[2013-07-24 12:03:43 - MainActivity] Proguard returned with error code 1. See console
[2013-07-24 12:03:43 - MainActivity] Note: there were 1081 duplicate class definitions.
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$color
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$drawable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$color
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$color
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$drawable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$drawable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$drawable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$drawable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.GoogleMapOptions: can't find referenced class com.google.android.gms.R
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.GoogleMapOptions: can't find referenced class com.google.android.gms.R$styleable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.GoogleMapOptions: can't find referenced class com.google.android.gms.R$styleable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.model.CameraPosition: can't find referenced class com.google.android.gms.R
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.model.CameraPosition: can't find referenced class com.google.android.gms.R$styleable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.model.CameraPosition: can't find referenced class com.google.android.gms.R$styleable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$Cell: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$Cell: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$Cell: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$Cell: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.util.concurrent.ServiceManager: can't find referenced class javax.inject.Inject
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.util.concurrent.ServiceManager: can't find referenced class javax.inject.Singleton
[2013-07-24 12:03:43 - MainActivity] Warning: there were 67 unresolved references to classes or interfaces.
[2013-07-24 12:03:43 - MainActivity] You may need to add missing library jars or update their versions.
[2013-07-24 12:03:43 - MainActivity] If your code works fine without the missing classes, you can suppress
[2013-07-24 12:03:43 - MainActivity] the warnings with '-dontwarn' options.
[2013-07-24 12:03:43 - MainActivity] java.io.IOException: Please correct the above warnings first.
[2013-07-24 12:03:43 - MainActivity] at proguard.Initializer.execute(Initializer.java:330)
[2013-07-24 12:03:43 - MainActivity] at proguard.ProGuard.initialize(ProGuard.java:212)
[2013-07-24 12:03:43 - MainActivity] at proguard.ProGuard.execute(ProGuard.java:87)
[2013-07-24 12:03:43 - MainActivity] at proguard.ProGuard.main(ProGuard.java:484)
I found the answer, Please refer the "Edit 1" part.
Hope this would help anyone who got the same problem.
From your screenshot (you have the google-play-services.jar), it looks like project isn't being built correct and this will only lead to more issues in the future.
Based on the link you provided, https://developers.google.com/drive/quickstart-android that documentation Does tell you to just use the jar.
However, there are more complete instructions at https://developer.android.com/google/play-services/setup.html
Here it instructs to
use the library project at /extras/google/google_play_services/libproject/google-play-services_lib/
make proguard entries
modify your AndroidManifest.xml
I tried to use Proguard in my Android project, i setup Proguard using command line 'android update project /path/to/project' and file proguard.cfg was created in project's root directory. (In my Eclipse with Android 2.3 sdk, when create a new project, proguard.cfg file is not automatically created so i have to add it manually using command line).
When i export the project, i got the following errors
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.io.Buffer
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields$Field
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields$Field
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields$Field
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.Address
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.io.Buffer
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.Address
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields$Field
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.CommonsLoggingLoggerFactory: can't find referenced class org.apache.commons.logging.LogFactory
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.CommonsLoggingLoggerFactory: can't find referenced class org.apache.commons.logging.LogFactory
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLoggerFactory: can't find referenced class org.slf4j.LoggerFactory
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLoggerFactory: can't find referenced class org.slf4j.LoggerFactory
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.jetty.JettyOAuthConsumer: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLoggerFactory: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLoggerFactory: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.signature.OAuthMessageSigner: can't find referenced class org.apache.commons.codec.binary.Base64
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.signature.OAuthMessageSigner: can't find referenced class org.apache.commons.codec.binary.Base64
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.signature.OAuthMessageSigner: can't find referenced class org.apache.commons.codec.binary.Base64
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.signature.OAuthMessageSigner: can't find referenced class org.apache.commons.codec.binary.Base64
[2011-02-06 09:02:49 - TestProject] Warning: oauth.signpost.signature.OAuthMessageSigner: can't find referenced class org.apache.commons.codec.binary.Base64
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Level
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Level
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2011-02-06 09:02:49 - TestProject] You should check if you need to specify additional program jars.
[2011-02-06 09:02:49 - TestProject] Warning: there were 59 unresolved references to classes or interfaces.
[2011-02-06 09:02:49 - TestProject] You may need to specify additional library jars (using '-libraryjars'),
[2011-02-06 09:02:49 - TestProject] or perhaps the '-dontskipnonpubliclibraryclasses' option.
[2011-02-06 09:02:49 - TestProject] java.io.IOException: Please correct the above warnings first.
[2011-02-06 09:02:49 - TestProject] at proguard.Initializer.execute(Initializer.java:308)
[2011-02-06 09:02:49 - TestProject] at proguard.ProGuard.initialize(ProGuard.java:210)
[2011-02-06 09:02:49 - TestProject] at proguard.ProGuard.execute(ProGuard.java:85)
[2011-02-06 09:02:49 - TestProject] at proguard.ProGuard.main(ProGuard.java:499)
These error messages point to four external jars used in my project
(.classpath)
<classpathentry kind="lib" path="/Users/lorensiuswlt/Android/android-sdk-mac_x86/libs/Twitter/signpost-commonshttp4-1.2.1.1.jar"/>
<classpathentry kind="lib" path="/Users/lorensiuswlt/Android/android-sdk-mac_x86/libs/Twitter/signpost-core-1.2.1.1.jar"/>
<classpathentry kind="lib" path="/Users/lorensiuswlt/Android/android-sdk-mac_x86/libs/Twitter/signpost-jetty6-1.2.1.1.jar"/>
<classpathentry kind="lib" path="/Users/lorensiuswlt/Android/android-sdk-mac_x86/libs/Twitter/twitter4j-core-2.1.6.jar"/>
Here is my proguard.cfg file
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService
-keepclasseswithmembernames class * {
native <methods>;
}
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
I've tried some solutions found on web by adding '-libraryjars' option, ex:
-libraryjars /Users/lorensiuswlt/Android/android-sdk-mac_x86/libs/Twitter/twitter4j-core-2.1.6.jar
but it won't help.
Any solutions?
Your library jars refer to yet more library jars (Mortbay, SLF4J, Apache Commons Logging, Log4j, ...) Adding these jars with extra '-libraryjars' options should solve the problem.
If you are absolutely sure that your code doesn't use these libraries, you can specify '-ignorewarnings' or '-dontwarn', e.g.
-dontwarn org.mortbay.**
-dontwarn org.slf4j.**
-dontwarn org.apache.log4j.**
-dontwarn org.apache.commons.logging.**
-dontwarn org.apache.commons.codec.binary.**