Proguard exception while creating release android signed apk - android

I am using Google API for Google authentication in our project, but while making a release signed APK, we are facing some warnings such that we are not able to generate the signed APK. Please point out where the actual problem is.
[2013-06-01 10:32:01 - Proguard returned with error code 1. See console
[2013-06-01 10:32:01 - Note: there were 366 duplicate class definitions.
[2013-06-01 10:32:01 - Warning: library class android.net.http.AndroidHttpClient extends or implements program class org.apache.http.client.HttpClient
[2013-06-01 10:32:01 - Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R
[2013-06-01 10:32:01 - Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can'tfind referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-06-01 10:32:01 - Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class
[2013-06-01 10:32:01 - Warning: com.google.api.services.tasks.v1.Tasks$RemoteRequest: can't find referenced class com.google.api.client.http.HttpMethod
[2013-06-01 10:32:01 - Warning: com.google.api.services.tasks.v1.Tasks$RemoteRequest: can't find referenced class com.google.api.client.http.HttpMethod
[2013-06-01 10:32:01 - Warning: com.google.api.services.tasks.v1.Tasks$RemoteRequest: can't find referenced class com.google.api.client.http.HttpMethod
[2013-06-01 10:32:01 -Warning: com.google.api.services.tasks.v1.Tasks$RemoteRequest: can't find referenced class com.google.api.client.http.HttpMethod
[2013-06-01 10:32:01 - Warning: com.google.api.services.tasks.v1.Tasks$RemoteRequest: can't find referenced class com.google.api.client.http.HttpMethod
[2013-06-01 10:32:01 - Warning: com.google.api.services.tasks.v1.Tasks$Tasklists$Delete: can't find referenced class com.google.api.client.http.HttpMethod
[2013-06-01 10:32:01 - Warning: com.google.api.services.tasks.v1.Tasks$Tasklists$Delete: can't find referenced class com.google.api.client.http.HttpMethod
[2013-06-01 10:32:01 - Warning: com.google.api.services.tasks.v1.Tasks$Tasklists$Get: can't find referenced class com.google.api.client.http.json.JsonHttpParser
[2013-06-01 10:32:01 - Warning: com.google.api.services.tasks.v1.Tasks$Tasklists$Get: can't find referenced field 'com.google.api.client.http.HttpHeaders headers' in class com.google.api.client.http.HttpResponse

I got the solution simple go inside android SDK tools/progaurd directory update all the jar files.

Related

Proguard gives errors with AWS SDK for Android

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

android -progaurd keeps erroring with parse

This is my proguard rules :
-keepattributes SourceFile,LineNumberTable
-keep class com.parse.*{ *; }
-keepclasseswithmembernames class * {
native <methods>;
}
i've searched and used lots of codes but none of them worked . these are the errors I got :
Warning: com.parse.FacebookAuthenticationProvider$1: can't find superclass or interface com.facebook.android.Facebook$ServiceListener
Warning: com.parse.FacebookAuthenticationProvider$2: can't find superclass or interface com.facebook.Session$StatusCallback
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find superclass or interface com.facebook.Request$Callback
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SharedPreferencesTokenCachingStrategy
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SharedPreferencesTokenCachingStrategy
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SessionState
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SessionState
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook$ServiceListener
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$StatusCallback
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SessionDefaultAudience
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.Facebook$ServiceListener
Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.Facebook
Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.FacebookError
Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.FacebookError
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session$StatusCallback
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request$Callback
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session
Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.FacebookRequestError
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.model.GraphObject
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Request$Callback
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.FacebookRequestError
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.model.GraphObject
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Request
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.android.Facebook
Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.android.Facebook
Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.android.Facebook
Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
You should check if you need to specify additional program jars.
please do not tell me to use dontwarn ,yes it manage to build the app but the app will not be run
How can I solve this problem ?
You have to use this
-keep class com.parse.** { *; }
i.e. ** instead of *
and maybe this too
-keepattributes *Annotation*
Please try to use below in your progaurd file :
#Parse
-keep class com.parse.** { *; }
-keepattributes Signature
Hope It will help.!!

how to setup proguard for my android project

i am not able to configure proguard for my project. Following are the error that i am getting while i am trying to compile.
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.cast.TextTrackStyle: can't find referenced class android.view.accessibility.CaptioningManager
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.cast.TextTrackStyle: can't find referenced class android.view.accessibility.CaptioningManager$CaptionStyle
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.cast.TextTrackStyle: can't find referenced class android.view.accessibility.CaptioningManager$CaptionStyle
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.cast.TextTrackStyle: can't find referenced class android.view.accessibility.CaptioningManager$CaptionStyle
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.cast.TextTrackStyle: can't find referenced class android.view.accessibility.CaptioningManager$CaptionStyle
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.cast.TextTrackStyle: can't find referenced class android.view.accessibility.CaptioningManager$CaptionStyle
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.cast.TextTrackStyle: can't find referenced class android.view.accessibility.CaptioningManager
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.cast.TextTrackStyle: can't find referenced class android.view.accessibility.CaptioningManager
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.cast.TextTrackStyle: can't find referenced class android.view.accessibility.CaptioningManager$CaptionStyle
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$BigTextStyle
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$Style
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$BigTextStyle
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$BigTextStyle
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification$Builder addAction(int,java.lang.CharSequence,android.app.PendingIntent)' in class android.app.Notification$Builder
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification build()' in class android.app.Notification$Builder
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification$Builder setPriority(int)' in class android.app.Notification$Builder
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification$Builder setStyle(android.app.Notification$Style)' in class android.app.Notification$Builder
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.dynamic.b: can't find referenced method 'android.app.Fragment getParentFragment()' in class android.app.Fragment
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.fitness.service.FitnessSensorService$a: can't find referenced class android.app.AppOpsManager
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.fitness.service.FitnessSensorService$a: can't find referenced class android.app.AppOpsManager
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.games.internal.PopupManager$PopupManagerHCMR1: can't find referenced method 'android.view.Display getDisplay()' in class android.view.View
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.games.internal.PopupManager$PopupManagerHCMR1: can't find referenced method 'void removeOnGlobalLayoutListener(android.view.ViewTreeObserver$OnGlobalLayoutListener)' in class android.view.ViewTreeObserver
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.internal.an$2: can't find referenced method 'void evaluateJavascript(java.lang.String,android.webkit.ValueCallback)' in class android.webkit.WebView
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.internal.fw: can't find referenced method 'boolean isActiveNetworkMetered()' in class android.net.ConnectivityManager
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.internal.gp: can't find referenced method 'java.lang.String getDefaultUserAgent(android.content.Context)' in class android.webkit.WebSettings
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.internal.gp: can't find referenced method 'void setMediaPlaybackRequiresUserGesture(boolean)' in class android.webkit.WebSettings
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.google.android.gms.internal.gv: can't find referenced method 'void evaluateJavascript(java.lang.String,android.webkit.ValueCallback)' in class android.webkit.WebView
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.Utils: can't find referenced class android.net.LinkProperties
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.Utils: can't find referenced class android.net.LinkProperties
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:42:12 - PsiphonAndroid] You should check if you need to specify additional program jars.
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: there were 22 unresolved references to classes or interfaces.
[2015-02-20 23:42:12 - PsiphonAndroid] You may need to specify additional library jars (using '-libraryjars').
[2015-02-20 23:42:12 - PsiphonAndroid] Warning: there were 12 unresolved references to program class members.
[2015-02-20 23:42:12 - PsiphonAndroid] Your input classes appear to be inconsistent.
[2015-02-20 23:42:12 - PsiphonAndroid] You may need to recompile them and try again.
[2015-02-20 23:42:12 - PsiphonAndroid] Alternatively, you may have to specify the option
[2015-02-20 23:42:12 - PsiphonAndroid] '-dontskipnonpubliclibraryclassmembers'.
[2015-02-20 23:42:12 - PsiphonAndroid] java.io.IOException: Please correct the above warnings first.
[2015-02-20 23:42:12 - PsiphonAndroid] at proguard.Initializer.execute(Initializer.java:321)
[2015-02-20 23:42:12 - PsiphonAndroid] at proguard.ProGuard.initialize(ProGuard.java:211)
[2015-02-20 23:42:12 - PsiphonAndroid] at proguard.ProGuard.execute(ProGuard.java:86)
[2015-02-20 23:42:12 - PsiphonAndroid] at proguard.ProGuard.main(ProGuard.java:492)
[2015-02-20 23:44:06 - PsiphonAndroid] Proguard returned with error code 1. See console
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$BigTextStyle
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$Style
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$BigTextStyle
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$BigTextStyle
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification$Builder addAction(int,java.lang.CharSequence,android.app.PendingIntent)' in class android.app.Notification$Builder
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification build()' in class android.app.Notification$Builder
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification$Builder setPriority(int)' in class android.app.Notification$Builder
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification$Builder setStyle(android.app.Notification$Style)' in class android.app.Notification$Builder
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.dynamic.b: can't find referenced method 'android.app.Fragment getParentFragment()' in class android.app.Fragment
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.fitness.service.FitnessSensorService$a: can't find referenced class android.app.AppOpsManager
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.fitness.service.FitnessSensorService$a: can't find referenced class android.app.AppOpsManager
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.games.internal.PopupManager$PopupManagerHCMR1: can't find referenced method 'android.view.Display getDisplay()' in class android.view.View
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.games.internal.PopupManager$PopupManagerHCMR1: can't find referenced method 'void removeOnGlobalLayoutListener(android.view.ViewTreeObserver$OnGlobalLayoutListener)' in class android.view.ViewTreeObserver
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.internal.an$2: can't find referenced method 'void evaluateJavascript(java.lang.String,android.webkit.ValueCallback)' in class android.webkit.WebView
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.internal.fw: can't find referenced method 'boolean isActiveNetworkMetered()' in class android.net.ConnectivityManager
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.internal.gp: can't find referenced method 'java.lang.String getDefaultUserAgent(android.content.Context)' in class android.webkit.WebSettings
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.internal.gp: can't find referenced method 'void setMediaPlaybackRequiresUserGesture(boolean)' in class android.webkit.WebSettings
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.google.android.gms.internal.gv: can't find referenced method 'void evaluateJavascript(java.lang.String,android.webkit.ValueCallback)' in class android.webkit.WebView
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.Utils: can't find referenced class android.net.LinkProperties
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.Utils: can't find referenced class android.net.LinkProperties
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:44:06 - PsiphonAndroid] You should check if you need to specify additional program jars.
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: there were 13 unresolved references to classes or interfaces.
[2015-02-20 23:44:06 - PsiphonAndroid] You may need to specify additional library jars (using '-libraryjars').
[2015-02-20 23:44:06 - PsiphonAndroid] Warning: there were 12 unresolved references to program class members.
[2015-02-20 23:44:06 - PsiphonAndroid] Your input classes appear to be inconsistent.
[2015-02-20 23:44:06 - PsiphonAndroid] You may need to recompile them and try again.
[2015-02-20 23:44:06 - PsiphonAndroid] Alternatively, you may have to specify the option
[2015-02-20 23:44:06 - PsiphonAndroid] '-dontskipnonpubliclibraryclassmembers'.
[2015-02-20 23:44:06 - PsiphonAndroid] java.io.IOException: Please correct the above warnings first.
[2015-02-20 23:44:06 - PsiphonAndroid] at proguard.Initializer.execute(Initializer.java:321)
[2015-02-20 23:44:06 - PsiphonAndroid] at proguard.ProGuard.initialize(ProGuard.java:211)
[2015-02-20 23:44:06 - PsiphonAndroid] at proguard.ProGuard.execute(ProGuard.java:86)
[2015-02-20 23:44:06 - PsiphonAndroid] at proguard.ProGuard.main(ProGuard.java:492)
[2015-02-20 23:46:31 - test] C:\My Drive\ultimatesid wrkspace\test\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-02-20 23:46:31 - test]
[2015-02-20 23:46:31 - test] C:\My Drive\ultimatesid wrkspace\test\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-02-20 23:46:31 - test]
[2015-02-20 23:46:31 - test] C:\My Drive\ultimatesid wrkspace\test\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-02-20 23:46:31 - test]
[2015-02-20 23:47:20 - test] C:\My Drive\ultimatesid wrkspace\test\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-02-20 23:47:20 - test]
[2015-02-20 23:47:20 - test] C:\My Drive\ultimatesid wrkspace\test\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-02-20 23:47:20 - test]
[2015-02-20 23:47:20 - test] C:\My Drive\ultimatesid wrkspace\test\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-02-20 23:47:20 - test]
[2015-02-20 23:48:08 - PsiphonAndroid] Proguard returned with error code 1. See console
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$BigTextStyle
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$Style
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$BigTextStyle
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class android.app.Notification$BigTextStyle
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification$Builder addAction(int,java.lang.CharSequence,android.app.PendingIntent)' in class android.app.Notification$Builder
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification build()' in class android.app.Notification$Builder
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification$Builder setPriority(int)' in class android.app.Notification$Builder
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced method 'android.app.Notification$Builder setStyle(android.app.Notification$Style)' in class android.app.Notification$Builder
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.dynamic.b: can't find referenced method 'android.app.Fragment getParentFragment()' in class android.app.Fragment
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.fitness.service.FitnessSensorService$a: can't find referenced class android.app.AppOpsManager
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.fitness.service.FitnessSensorService$a: can't find referenced class android.app.AppOpsManager
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.games.internal.PopupManager$PopupManagerHCMR1: can't find referenced method 'android.view.Display getDisplay()' in class android.view.View
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.games.internal.PopupManager$PopupManagerHCMR1: can't find referenced method 'void removeOnGlobalLayoutListener(android.view.ViewTreeObserver$OnGlobalLayoutListener)' in class android.view.ViewTreeObserver
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.internal.an$2: can't find referenced method 'void evaluateJavascript(java.lang.String,android.webkit.ValueCallback)' in class android.webkit.WebView
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.internal.fw: can't find referenced method 'boolean isActiveNetworkMetered()' in class android.net.ConnectivityManager
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.internal.gp: can't find referenced method 'java.lang.String getDefaultUserAgent(android.content.Context)' in class android.webkit.WebSettings
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.internal.gp: can't find referenced method 'void setMediaPlaybackRequiresUserGesture(boolean)' in class android.webkit.WebSettings
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.google.android.gms.internal.gv: can't find referenced method 'void evaluateJavascript(java.lang.String,android.webkit.ValueCallback)' in class android.webkit.WebView
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.Utils: can't find referenced class android.net.LinkProperties
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.Utils: can't find referenced class android.net.LinkProperties
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.WebViewProxySettings: can't find referenced class android.util.ArrayMap
[2015-02-20 23:48:08 - PsiphonAndroid] You should check if you need to specify additional program jars.
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: there were 13 unresolved references to classes or interfaces.
[2015-02-20 23:48:08 - PsiphonAndroid] You may need to specify additional library jars (using '-libraryjars').
[2015-02-20 23:48:08 - PsiphonAndroid] Warning: there were 12 unresolved references to program class members.
[2015-02-20 23:48:08 - PsiphonAndroid] Your input classes appear to be inconsistent.
[2015-02-20 23:48:08 - PsiphonAndroid] You may need to recompile them and try again.
[2015-02-20 23:48:08 - PsiphonAndroid] Alternatively, you may have to specify the option
[2015-02-20 23:48:08 - PsiphonAndroid] '-dontskipnonpubliclibraryclassmembers'.
[2015-02-20 23:48:08 - PsiphonAndroid] java.io.IOException: Please correct the above warnings first.
[2015-02-20 23:48:08 - PsiphonAndroid] at proguard.Initializer.execute(Initializer.java:321)
[2015-02-20 23:48:08 - PsiphonAndroid] at proguard.ProGuard.initialize(ProGuard.java:211)
[2015-02-20 23:48:08 - PsiphonAndroid] at proguard.ProGuard.execute(ProGuard.java:86)
[2015-02-20 23:48:08 - PsiphonAndroid] at proguard.ProGuard.main(ProGuard.java:492)
[2015-02-20 23:50:13 - PsiphonAndroid] Proguard returned with error code 1. See console
[2015-02-20 23:50:13 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.Utils: can't find referenced class android.net.LinkProperties
[2015-02-20 23:50:13 - PsiphonAndroid] Warning: com.psiphon3.psiphonlibrary.Utils: can't find referenced class android.net.LinkProperties
[2015-02-20 23:50:13 - PsiphonAndroid] You should check if you need to specify additional program jars.
[2015-02-20 23:50:13 - PsiphonAndroid] Warning: there were 2 unresolved references to classes or interfaces.
[2015-02-20 23:50:13 - PsiphonAndroid] You may need to specify additional library jars (using '-libraryjars').
[2015-02-20 23:50:13 - PsiphonAndroid] java.io.IOException: Please correct the above warnings first.
[2015-02-20 23:50:13 - PsiphonAndroid] at proguard.Initializer.execute(Initializer.java:321)
[2015-02-20 23:50:13 - PsiphonAndroid] at proguard.ProGuard.initialize(ProGuard.java:211)
[2015-02-20 23:50:13 - PsiphonAndroid] at proguard.ProGuard.execute(ProGuard.java:86)
[2015-02-20 23:50:13 - PsiphonAndroid] at proguard.ProGuard.main(ProGuard.java:492)
This is my proguard properties file:
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard- project.txt
#proguard.config=proguard-project.txt
#proguard.config=${sdk.dir}\tools\proguard\proguard-android.txt:proguard- project.txt
# Project target.
target=android-19
android.library.reference.1=..\\PsiphonAndroidLibrary
android.library.reference.2=..\\..\\..\\..\\..\\Users\\TVS\\Desktop\\codecanyon- 9585545-red-and-yellow-addictive-game-admob-integrated\\RedAndYellow\\Libraries\\google-play-services_lib
android.library.reference.3=..\\..\\..\\google-play-services_lib
Also check if your android manifest targetSdkVersion is same with your project.properties target :
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="21" />
project.properties
# Project target.
target=android-21

Android application signing: Proguard returned with error code 1. see console

I have built an application that uses JacksonJson as a library. I am trying to export it as a signed application and getting the proguard error. I have tried various solutions posted on the internet, but none seems to work. Any help will be appreciated.
Console:
Proguard returned with error code 1. See console
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find superclass or interface javax.ws.rs.ext.ExceptionMapper
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find superclass or interface javax.ws.rs.ext.ExceptionMapper
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find superclass or interface javax.ws.rs.ext.MessageBodyReader
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find superclass or interface javax.ws.rs.ext.MessageBodyWriter
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.core.Response$Status
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.core.Response
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.core.Response$ResponseBuilder
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.core.Response$ResponseBuilder
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.core.Response$ResponseBuilder
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.ext.ExceptionMapper
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.core.Response$Status
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.core.Response
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.core.Response$ResponseBuilder
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.core.Response
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.core.Response
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.ext.ExceptionMapper
Warning: com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper: can't find referenced class javax.ws.rs.ext.Provider
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.core.Response$Status
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.core.Response
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.core.Response$ResponseBuilder
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.core.Response$ResponseBuilder
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.core.Response$ResponseBuilder
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.ext.ExceptionMapper
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.core.Response$Status
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.core.Response
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.core.Response$ResponseBuilder
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.core.Response
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.core.Response
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.ext.ExceptionMapper
Warning: com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper: can't find referenced class javax.ws.rs.ext.Provider
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.StreamingOutput
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.Response
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.ext.MessageBodyReader
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.ext.MessageBodyWriter
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MultivaluedMap
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MultivaluedMap
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MultivaluedMap
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MultivaluedMap
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MultivaluedMap
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MultivaluedMap
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MultivaluedMap
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.core.MediaType
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.ext.MessageBodyReader
Warning: com.fasterxml.jackson.jaxrs.base.ProviderBase: can't find referenced class javax.ws.rs.ext.MessageBodyWriter
You should check if you need to specify additional program jars.
Warning: there were 67 unresolved references to classes or interfaces.
You may need to specify additional library jars (using '-libraryjars').
java.io.IOException: Please correct the above warnings first.
at proguard.Initializer.execute(Initializer.java:321)
at proguard.ProGuard.initialize(ProGuard.java:211)
at proguard.ProGuard.execute(ProGuard.java:86)
at proguard.ProGuard.main(ProGuard.java:492)
Here is my project.properties file:
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-18
android.library.reference.3=../ABCSourceCode/Libraries/ABCLibrary
android.library.reference.4=../ABCSourceCode/Libraries/AndroidHorizontalListView
android.library.reference.1=../ABCSourceCode/Libraries/ABS_Library
android.library.reference.2=../ABCSourceCode/Libraries/google-play-services_lib
android.library.reference.6=../ABCSourceCode/Libraries/volleyLibrary
android.library.reference.5=../ABCSourceCode/Libraries/SlidingMenuForklibrary
IN proguard config file, just skip all the above libs which are thrown in error by below mentioned way..
-keep class yourclassname.** { *; }
In your case it would be
-keep class javax.ws.rs.** { *; }
-dontwarn com.fasterxml.jackson.**
Try doing this and run build again.

Build Google SDK example with Eclipse with release mode

I try to build Google Drive SDK examples in Eclipse v22.01:
(The example website is as follows:)
https://developers.google.com/drive/quickstart-android
When I used debug build,it builded fine and executed fine on my table device.
However, when I tried to build it on release mode, I failed.
My process is as follows:
1. Go to "File"->"Export"
2. Create private keystore (This step succeeded.)
3. Build apk
I've checked the post Update your Proguard and downloaded and replaced jars in Proguard
I also checked the postCheck the '"Android Private Libraries' and checked items on "Order and Export" tab. But Still failed.
[Edit 1] I found the solution.
Just Uncheck the 'Drive API' (See the picture for reference)
(I am not sure if 'Android Dependencies' is needed or not. Maybe this could also be unchecked.)
I also add '-dontwarn com.google.**' to 'proguard-android.txt'
And then it worked.
Here are the errors messages I got:
[2013-07-24 12:03:43 - MainActivity] Proguard returned with error code 1. See console
[2013-07-24 12:03:43 - MainActivity] Note: there were 1081 duplicate class definitions.
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.auth.GoogleAuthUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.common.GooglePlayServicesUtil: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$color
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$drawable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$color
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$color
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$drawable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$drawable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$drawable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$drawable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.internal.aa: can't find referenced class com.google.android.gms.R$string
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.GoogleMapOptions: can't find referenced class com.google.android.gms.R
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.GoogleMapOptions: can't find referenced class com.google.android.gms.R$styleable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.GoogleMapOptions: can't find referenced class com.google.android.gms.R$styleable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.model.CameraPosition: can't find referenced class com.google.android.gms.R
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.model.CameraPosition: can't find referenced class com.google.android.gms.R$styleable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.android.gms.maps.model.CameraPosition: can't find referenced class com.google.android.gms.R$styleable
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$Cell: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$Cell: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$Cell: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.cache.Striped64$Cell: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1: can't find referenced class sun.misc.Unsafe
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.util.concurrent.ServiceManager: can't find referenced class javax.inject.Inject
[2013-07-24 12:03:43 - MainActivity] Warning: com.google.common.util.concurrent.ServiceManager: can't find referenced class javax.inject.Singleton
[2013-07-24 12:03:43 - MainActivity] Warning: there were 67 unresolved references to classes or interfaces.
[2013-07-24 12:03:43 - MainActivity] You may need to add missing library jars or update their versions.
[2013-07-24 12:03:43 - MainActivity] If your code works fine without the missing classes, you can suppress
[2013-07-24 12:03:43 - MainActivity] the warnings with '-dontwarn' options.
[2013-07-24 12:03:43 - MainActivity] java.io.IOException: Please correct the above warnings first.
[2013-07-24 12:03:43 - MainActivity] at proguard.Initializer.execute(Initializer.java:330)
[2013-07-24 12:03:43 - MainActivity] at proguard.ProGuard.initialize(ProGuard.java:212)
[2013-07-24 12:03:43 - MainActivity] at proguard.ProGuard.execute(ProGuard.java:87)
[2013-07-24 12:03:43 - MainActivity] at proguard.ProGuard.main(ProGuard.java:484)
I found the answer, Please refer the "Edit 1" part.
Hope this would help anyone who got the same problem.
From your screenshot (you have the google-play-services.jar), it looks like project isn't being built correct and this will only lead to more issues in the future.
Based on the link you provided, https://developers.google.com/drive/quickstart-android that documentation Does tell you to just use the jar.
However, there are more complete instructions at https://developer.android.com/google/play-services/setup.html
Here it instructs to
use the library project at /extras/google/google_play_services/libproject/google-play-services_lib/
make proguard entries
modify your AndroidManifest.xml

Categories

Resources