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.
Related
We are using shopify Android buy sdk to develop this app
compile 'com.shopify.mobilebuysdk:buy3:3.1.1'
compile 'com.shopify.mobilebuysdk:buy3-pay-support:1.0.2'
Error and Warning
warning: com.facebook.cache.common.cacheerrorlogger: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.common.cacheevent: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.common.debuggingcachekey: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.common.noopcacheerrorlogger: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.defaultdiskstorage$fileinfo: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.diskcacheconfig: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.diskcacheconfig$builder: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.diskstoragecache: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.cache.disk.diskstoragecache: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.diskstoragecache: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.cache.disk.dynamicdefaultdiskstorage$state: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.settablecacheevent: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.executors.handlerexecutorserviceimpl: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.executors.scheduledfutureimpl: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.internal.closeables: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.internal.objects: can't find referenced class javax.annotation.checkreturnvalue
warning: com.facebook.common.internal.objects: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.internal.objects$tostringhelper: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.internal.preconditions: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.internal.throwables: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.media.mediautils: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.references.closeablereference: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.common.references.closeablereference: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.references.oomsoftreference: can't find referenced class javax.annotation.nonnull
warning: com.facebook.common.references.oomsoftreference: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.references.sharedreference: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.common.statfs.statfshelper: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.common.statfs.statfshelper: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.statfs.statfshelper: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.common.util.hashcodeutil: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.util.uriutil: can't find referenced class javax.annotation.nullable
warning: com.facebook.datasource.abstractdatasource: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.datasource.abstractdatasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.datasource.datasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.datasource.firstavailabledatasourcesupplier: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.datasource.firstavailabledatasourcesupplier$firstavailabledatasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.datasource.firstavailabledatasourcesupplier$firstavailabledatasource: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.datasource.increasingqualitydatasourcesupplier: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.datasource.increasingqualitydatasourcesupplier$increasingqualitydatasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.datasource.increasingqualitydatasourcesupplier$increasingqualitydatasource: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.datasource.increasingqualitydatasourcesupplier$increasingqualitydatasource: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.drawee.backends.pipeline.drawablefactory: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.draweeconfig: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.fresco: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.pipelinedraweecontroller: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.pipelinedraweecontrollerbuilder: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.pipelinedraweecontrollerbuildersupplier: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.pipelinedraweecontrollerfactory: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.abstractdraweecontroller: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.abstractdraweecontroller: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.drawee.controller.abstractdraweecontrollerbuilder: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.abstractdraweecontrollerbuilder$1: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.basecontrollerlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.controllerlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.forwardingcontrollerlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.forwardingcontrollerlistener: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.drawee.drawable.arraydrawable: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.drawable.drawableutils: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.drawable.roundedbitmapdrawable: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.drawable.scalingutils$interpolatingscaletype: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.generic.genericdraweehierarchy: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.generic.genericdraweehierarchybuilder: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.generic.genericdraweehierarchyinflater: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.generic.rootdrawable: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.generic.wrappingutils: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.interfaces.draweecontroller: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.interfaces.simpledraweecontrollerbuilder: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.view.aspectratiomeasure: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.view.draweeholder: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.view.draweeview: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.view.genericdraweeview: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.view.simpledraweeview: can't find referenced class javax.annotation.nullable
warning: com.facebook.imageformat.imageformat: can't find referenced class javax.annotation.nullable
warning: com.facebook.imageformat.imageformat$formatchecker: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.animated.factory.animatedfactory: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.bitmaps.artbitmapfactory: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.bitmaps.honeycombbitmapfactory: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.bitmaps.platformbitmapfactory: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.bitmaps.platformbitmapfactory$bitmapcreationobserver: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.bitmapmemorycachekey: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.bitmapmemorycachekey: can't find referenced class javax.annotation.concurrent.immutable
warning: com.facebook.imagepipeline.cache.cachekeyfactory: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.countinglrumap: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.cache.countinglrumap: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.countinglrumap: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.cache.countingmemorycache: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.cache.countingmemorycache: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.countingmemorycache: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.cache.countingmemorycache$entry: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.defaultcachekeyfactory: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.memorycache: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.stagingarea: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.common.imagedecodeoptions: can't find referenced class javax.annotation.concurrent.immutable
warning: com.facebook.imagepipeline.common.priority: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.core.imagepipeline: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.core.imagepipelineconfig: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.core.imagepipelinefactory: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.datasource.abstractproducertodatasourceadapter: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.abstractproducertodatasourceadapter: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.datasource.abstractproducertodatasourceadapter$1: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.basebitmapdatasubscriber: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.closeableproducertodatasourceadapter: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.closeableproducertodatasourceadapter: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.datasource.listdatasource: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.datasource.listdatasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.listdatasource$internaldatasubscriber: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.datasource.producertodatasourceadapter: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.datasource.settabledatasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.settabledatasource: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.image.closeablestaticbitmap: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.image.closeablestaticbitmap: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.image.encodedimage: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.image.encodedimage: can't find referenced class javax.annotation.concurrent.immutable
warning: com.facebook.imagepipeline.listener.baserequestlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.listener.forwardingrequestlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.listener.requestlogginglistener: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.listener.requestlogginglistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.memory.basepool: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.memory.basepool$counter: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.bitmapcounter: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.memory.bitmappool: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.bucket: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.memory.bucket: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.flexbytearraypool: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.genericbytearraypool: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.nativememorychunkpool: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.nativepooledbytebuffer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.memory.nativepooledbytebuffer: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.nativepooledbytebufferfactory: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.nativepooledbytebufferoutputstream: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.oomsoftreferencebucket: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.poolconfig: can't find referenced class javax.annotation.concurrent.immutable
warning: com.facebook.imagepipeline.memory.poolfactory: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.poolparams: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.memory.pooledbytearraybufferedinputstream: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.pooledbytebufferinputstream: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.sharedbytearray: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.platform.artdecoder: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.platform.gingerbreadpurgeabledecoder: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.platform.kitkatpurgeabledecoder: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.postprocessors.iterativeboxblurpostprocessor: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.baseconsumer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.baseconsumer: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.producers.basenetworkfetcher: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.baseproducercontext: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.baseproducercontext: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.decodeproducer$progressivedecoder: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.decodeproducer$progressivedecoder: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.jobscheduler: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.localcontenturifetchproducer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.localcontenturithumbnailfetchproducer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.multiplexproducer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.multiplexproducer: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.producers.multiplexproducer$multiplexer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.multiplexproducer$multiplexer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.networkfetchproducer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.networkfetcher: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.postprocessorproducer$postprocessorconsumer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.postprocessorproducer$postprocessorconsumer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.postprocessorproducer$repeatedpostprocessorconsumer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.postprocessorproducer$repeatedpostprocessorconsumer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.producerlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.resizeandrotateproducer$transformingconsumer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.settableproducercontext: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.producers.throttlingproducer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.webptranscodeproducer$webptranscodeconsumer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.request.basepostprocessor: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.request.imagerequest: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.request.imagerequest: can't find referenced class javax.annotation.concurrent.immutable
warning: com.facebook.imagepipeline.request.imagerequestbuilder: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.request.postprocessor: can't find referenced class javax.annotation.nullable
warning: com.facebook.imageutils.bitmaputil: can't find referenced class javax.annotation.nullable
warning: com.github.siyamed.shapeimageview.path.parser.svgtopath: can't find referenced class org.kxml2.io.kxmlparser
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.okhttpclient
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.cache
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.cachecontrol
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.cachecontrol$builder
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.request$builder
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.call
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.response
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.responsebody
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.request
warning: okio.deflatersink: can't find referenced class org.codehaus.mojo.animal_sniffer.ignorejrerequirement
warning: okio.okio: can't find referenced class java.nio.file.files
warning: okio.okio: can't find referenced class java.nio.file.path
warning: okio.okio: can't find referenced class java.nio.file.openoption
warning: okio.okio: can't find referenced class org.codehaus.mojo.animal_sniffer.ignorejrerequirement
When we are enabled minifyEnabled true, it showing this errors and unable to developed release apk and there are more errors.
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
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
While exporting my Android Application, Proguard returned with error code 1. I am using twitter4j external jars in my app.
I already added library jars, rt.jar (For this I downloaded latest jdk1.7 which has javax.management.* classes) and dontwarn statements also to proguard.cfg file.
I included injars, libraryjars statements also..
Updated
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-dontpreverify
-dontshrink
-verbose
#-injars bin/classes
#-injars libs
#-outjars bin/classes-processed.jar
-libraryjars <java.home>/jre/lib/rt.jar
-libraryjars <java.home>/lib/tools.jar
-libraryjars /libs/twitter4j-core-3.0.3.jar
-libraryjars /libs/twitter4j-media-support-3.0.3.jar
-libraryjars /libs/linkedin-j-android.jar
-libraryjars /libs/signpost-commonshttp4-1.2.jar
-libraryjars /libs/signpost-core-1.2.1.1.jar
-libraryjars /libs/signpost-jetty6-1.2.1.1.jar
-dontwarn org.apache.**
-dontwarn org.slf4j.**
-dontwarn org.json.*
-dontwarn org.mortbay.**
-dontwarn org.apache.log4j.**
-dontwarn org.apache.commons.logging.**
-dontwarn org.apache.commons.logging.**
-dontwarn org.apache.commons.codec.binary.**
-dontwarn javax.xml.**
-dontwarn javax.management.**
-dontwarn java.lang.management.**
-dontwarn android.support.**
-dontwarn com.google.code.**
-dontwarn oauth.signpost.**
-dontwarn twitter4j.**
-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 java.lang.management.** { *; }
-keep class com.google.code.** { *; }
-keep class oauth.signpost.** { *; }
-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 *;
}
Still I am facing the issue, Proguard returned with error code 1.
Updated
LogCat:
[2013-02-18 10:43:47 - SP] Proguard returned with error code 1. See console
[2013-02-18 10:43:47 - SP] Warning: com.google.code.linkedinapi.schema.Adapter1: can't find superclass or interface javax.xml.bind.annotation.adapters.XmlAdapter
[2013-02-18 10:43:47 - SP] Warning: com.google.code.linkedinapi.schema.Adapter2: can't find superclass or interface javax.xml.bind.annotation.adapters.XmlAdapter
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find superclass or interface javax.management.DynamicMBean
[2013-02-18 10:43:47 - SP] Warning: com.google.code.linkedinapi.schema.Adapter1: can't find referenced class javax.xml.bind.annotation.adapters.XmlAdapter
[2013-02-18 10:43:47 - SP] Warning: com.google.code.linkedinapi.schema.Adapter1: can't find referenced class javax.xml.bind.annotation.adapters.XmlAdapter
[2013-02-18 10:43:47 - SP] Warning: com.google.code.linkedinapi.schema.Adapter1: can't find referenced class javax.xml.bind.annotation.adapters.XmlAdapter
[2013-02-18 10:43:47 - SP] Warning: com.google.code.linkedinapi.schema.Adapter2: can't find referenced class javax.xml.bind.annotation.adapters.XmlAdapter
[2013-02-18 10:43:47 - SP] Warning: com.google.code.linkedinapi.schema.Adapter2: can't find referenced class javax.xml.bind.annotation.adapters.XmlAdapter
[2013-02-18 10:43:47 - SP] Warning: com.google.code.linkedinapi.schema.Adapter2: can't find referenced class javax.xml.bind.DatatypeConverter
[2013-02-18 10:43:47 - SP] Warning: com.google.code.linkedinapi.schema.Adapter2: can't find referenced class javax.xml.bind.DatatypeConverter
[2013-02-18 10:43:47 - SP] Warning: com.google.code.linkedinapi.schema.Adapter2: can't find referenced class javax.xml.bind.DatatypeConverter
[2013-02-18 10:43:47 - SP] Warning: com.google.code.linkedinapi.schema.Adapter2: can't find referenced class javax.xml.bind.annotation.adapters.XmlAdapter
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.commonshttp.CommonsHttpOAuthProvider: can't find referenced method 'java.util.Map decodeForm(java.io.InputStream)' in class oauth.signpost.OAuth
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.commonshttp.CommonsHttpOAuthProvider: can't find referenced method 'void setResponseParameters(java.util.Map)' in class oauth.signpost.commonshttp.CommonsHttpOAuthProvider
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.io.Buffer
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields$Field
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields$Field
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields$Field
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.Address
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.io.Buffer
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.Address
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields$Field
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.HttpRequestAdapter: can't find referenced class org.mortbay.jetty.HttpFields
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.jetty.JettyOAuthConsumer: can't find referenced class org.mortbay.jetty.client.HttpExchange
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.signature.OAuthMessageSigner: can't find referenced class org.apache.commons.codec.binary.Base64
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.signature.OAuthMessageSigner: can't find referenced class org.apache.commons.codec.binary.Base64
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.signature.OAuthMessageSigner: can't find referenced class org.apache.commons.codec.binary.Base64
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.signature.OAuthMessageSigner: can't find referenced class org.apache.commons.codec.binary.Base64
[2013-02-18 10:43:47 - SP] Warning: oauth.signpost.signature.OAuthMessageSigner: can't find referenced class org.apache.commons.codec.binary.Base64
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class java.lang.management.ManagementFactory
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanServer
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class java.lang.management.ManagementFactory
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanServer
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.ObjectName
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanServer
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.InstanceAlreadyExistsException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MBeanRegistrationException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.NotCompliantMBeanException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.TwitterAPIMonitor: can't find referenced class javax.management.MalformedObjectNameException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.CommonsLoggingLoggerFactory: can't find referenced class org.apache.commons.logging.LogFactory
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.CommonsLoggingLoggerFactory: can't find referenced class org.apache.commons.logging.LogFactory
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Level
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Level
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLogger: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLoggerFactory: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.Log4JLoggerFactory: can't find referenced class org.apache.log4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLogger: can't find referenced class org.slf4j.Logger
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLoggerFactory: can't find referenced class org.slf4j.LoggerFactory
[2013-02-18 10:43:47 - SP] Warning: twitter4j.internal.logging.SLF4JLoggerFactory: can't find referenced class org.slf4j.LoggerFactory
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenDataException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanAttributeInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanConstructorInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanOperationInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.MBeanNotificationInfo
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.SimpleType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanAttributeInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanParameterInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanConstructorInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.SimpleType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanOperationInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularDataSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularDataSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeDataSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeDataSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularDataSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeNotFoundException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeNotFoundException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.Attribute
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.Attribute
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.ReflectionException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.ReflectionException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.SimpleType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.DynamicMBean
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.MBeanException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.InvalidAttributeValueException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.SimpleType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularType
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenDataException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.MBeanInfo
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanAttributeInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanConstructorInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanOperationInfoSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.MBeanNotificationInfo
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenMBeanParameterInfo
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularDataSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.CompositeData
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.OpenDataException
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.openmbean.TabularDataSupport
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.Attribute
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.Attribute
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList
[2013-02-18 10:43:47 - SP] Warning: twitter4j.management.APIStatisticsOpenMBean: can't find referenced class javax.management.AttributeList
[2013-02-18 10:43:47 - SP] You should check if you need to specify additional program jars.
[2013-02-18 10:43:47 - SP] Warning: there were 160 unresolved references to classes or interfaces.
[2013-02-18 10:43:47 - SP] You may need to specify additional library jars (using '-libraryjars').
[2013-02-18 10:43:47 - SP] Warning: there were 2 unresolved references to program class members.
[2013-02-18 10:43:47 - SP] Your input classes appear to be inconsistent.
[2013-02-18 10:43:47 - SP] You may need to recompile them and try again.
[2013-02-18 10:43:47 - SP] Alternatively, you may have to specify the option
[2013-02-18 10:43:47 - SP] '-dontskipnonpubliclibraryclassmembers'.
[2013-02-18 10:43:47 - SP] java.io.IOException: Please correct the above warnings first.
[2013-02-18 10:43:47 - SP] at proguard.Initializer.execute(Initializer.java:321)
[2013-02-18 10:43:47 - SP] at proguard.ProGuard.initialize(ProGuard.java:211)
[2013-02-18 10:43:47 - SP] at proguard.ProGuard.execute(ProGuard.java:86)
[2013-02-18 10:43:47 - SP] at proguard.ProGuard.main(ProGuard.java:492)
Try adding the Packages which give warnings, this way:
-dontwarn com.google.code.**
-dontwarn oauth.signpost.**
-dontwarn twitter4j.**
For some reason if this didn't work try doing the same with Class and Interface Names, this way:
-dontwarn javax.management.**
-dontwarn javax.xml.**
-dontwarn org.apache.**
-dontwarn org.slf4j.**
to your Proguard config file.
Thank you so much for all. Finally after so much struggling I found my foolish mistake. I have configured wrong config file in project.properties.
I was changing code in proguard.cfg, but the project.properties file contains wrong config file path i.e.
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
Fixed with this changes:
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard.cfg
proguard.cfg working version
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-dontpreverify
-dontshrink
-verbose
-injars bin/classes
-injars libs
-outjars bin/classes-processed.jar
-libraryjars C:/glassfish3/jdk7/jre/lib/rt.jar
-libraryjars C:/glassfish3/jdk7/lib/tools.jar
-dontwarn org.apache.**
-dontwarn org.slf4j.**
-dontwarn org.json.*
-dontwarn org.mortbay.**
-dontwarn org.apache.log4j.**
-dontwarn org.apache.commons.logging.**
-dontwarn org.apache.commons.logging.**
-dontwarn org.apache.commons.codec.binary.**
-dontwarn javax.xml.**
-dontwarn javax.management.**
-dontwarn java.lang.management.**
-dontwarn android.support.**
-dontwarn com.google.code.**
-dontwarn oauth.signpost.**
-dontwarn twitter4j.**
-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 public class com.google.code.linkedinapi.**
-keep class javax.** { *; }
-keep class org.** { *; }
-keep class twitter4j.** { *; }
-keep class java.lang.management.** { *; }
-keep class com.google.code.** { *; }
-keep class oauth.signpost.** { *; }
-keepclassmembers public class com.google.code.linkedinapi.client.impl.LinkedInApiXppClient {
public <init>(java.lang.String, java.lang.String);
}
-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 *;
}
Given these -dontwarn options, you can't be getting these warnings from your build. You should double-check that you are editing the proper configuration file (proguard-project.txt as of Android SDK r20).
I found a few things while integrating Proguard maybe it's helpful to you.
1>While using Google's License Verification Library we want to keep an additional class from being obfuscated in the additional library. for that I used proguard/config.txt file:
**-keep class com.android.vending.licensing.ILicensingService**
2>
While using Google api for MapActivity, I got warnings:
can't find referenced classes for all come.google.android.maps
classes, and "Note: the configuration refers to the unknown class
'com.google.android.maps'"`
When we use Google APIs, there is an additional library used to build the program. for that we need to adjust the path.
Normally there is just android.jar located in your SDK. but Google API adds another library, maps.jar, hidden away at android-sdk-windows\add-ons\addon_google_apis_google_inc_8\libs\maps.jar. We need to add this to the build.xml file. Find the optimize target in build.xml, and add the following text in bold to the proguard command by adjusting the path:
<arg value="-libraryjars ${android.jar}"/>
<arg value="-libraryjars ${sdk.dir}/add-ons\addon_google_apis_google_inc_8\libs\maps.jar"/>
Have a look at this ref: http://goo.gl/Ifgyj
3> Ref: Android Proguard skip external jar
Try adding the next line to your proguard file:
-keep public class com.google.code.linkedinapi.**
-keepclassmembers public class com.google.code.linkedinapi.client.impl.LinkedInApiXppClient {
public <init>(java.lang.String, java.lang.String);
}
And also add
-keep class twitter4j.**
-keepclassmembers class twitter4j.** {
<init>(...);
<methods>;
<fields>;
}
and also a good idea to add
-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*(...);
}
-keepclassmembers class **.R$* {
public static <fields>;
}
One thing that worked for me was to reduce the "optimizationpasses" try 2.
I guess Android does not support jdk 1.7, May be that's your problem. Can the Android SDK work with JDK 1.7?
I was getting a "Proguard returned with error code 1. See console" error. In my case the problem was in the "sdk\tools\proguard\bin\proguard.bat" file which the ADT uses to start ProGuard. It contained the line "java -jar "%PROGUARD_HOME%"\lib\proguard.jar %*". In my environment the simple command "java" doesn't work. I never use it because I specify specific JVMs in different circumstances.
Anyway, changing "java" to the absolute path of the JDK 1.7 bin\java.exe resolved the issue.
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.**