I am trying to protect my apk file with ProGuard but I got errors.
[2013-08-14 12:21:41 - LookAround] Proguard returned with error code 1. See console
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find superclass or interface android.media.RemoteControlClient$OnGetPlaybackPositionListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find superclass or interface android.media.RemoteControlClient$OnPlaybackPositionUpdateListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2$1: can't find superclass or interface android.view.ViewTreeObserver$OnWindowAttachListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2$2: can't find superclass or interface android.view.ViewTreeObserver$OnWindowFocusChangeListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeProviderCompatJellyBean$1: can't find superclass or interface android.view.accessibility.AccessibilityNodeProvider
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.accessibilityservice.AccessibilityServiceInfoCompatJellyBeanMr2: can't find referenced method 'int getCapabilities()' in library class android.accessibilityservice.AccessibilityServiceInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.ActivityCompatJB: can't find referenced method 'void startActivity(android.content.Intent,android.os.Bundle)' in library class android.content.Context
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.ActivityCompatJB: can't find referenced method 'void startActivityForResult(android.content.Intent,int,android.os.Bundle)' in library class android.app.Activity
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.ActivityCompatJB: can't find referenced method 'void finishAffinity()' in library class android.app.Activity
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.ActivityOptionsCompatJB: can't find referenced class android.app.ActivityOptions
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.ActivityOptionsCompatJB: can't find referenced class android.app.ActivityOptions
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.ActivityOptionsCompatJB: can't find referenced class android.app.ActivityOptions
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.ActivityOptionsCompatJB: can't find referenced class android.app.ActivityOptions
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.ActivityOptionsCompatJB: can't find referenced class android.app.ActivityOptions
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NavUtilsJB: can't find referenced method 'android.content.Intent getParentActivityIntent()' in library class android.app.Activity
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NavUtilsJB: can't find referenced method 'boolean shouldUpRecreateTask(android.content.Intent)' in library class android.app.Activity
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NavUtilsJB: can't find referenced method 'boolean navigateUpTo(android.content.Intent)' in library class android.app.Activity
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NavUtilsJB: can't find referenced field 'java.lang.String parentActivityName' in library class android.content.pm.ActivityInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced method 'android.app.Notification$Builder setSubText(java.lang.CharSequence)' in library class android.app.Notification$Builder
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced method 'android.app.Notification$Builder setUsesChronometer(boolean)' in library class android.app.Notification$Builder
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced method 'android.app.Notification$Builder setPriority(int)' in library class android.app.Notification$Builder
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced method 'android.app.Notification$Builder addAction(int,java.lang.CharSequence,android.app.PendingIntent)' in library class android.app.Notification$Builder
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced method 'android.app.Notification build()' in library class android.app.Notification$Builder
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.ShareCompatJB: can't find referenced method 'java.lang.String escapeHtml(java.lang.CharSequence)' in library class android.text.Html
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.app.TaskStackBuilderJellybean: can't find referenced method 'android.app.PendingIntent getActivities(android.content.Context,int,android.content.Intent[],int,android.os.Bundle)' in library class android.app.PendingIntent
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.content.ContextCompatJellybean: can't find referenced method 'void startActivities(android.content.Intent[],android.os.Bundle)' in library class android.content.Context
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.content.IntentCompatIcsMr1: can't find referenced method 'android.content.Intent makeMainSelectorActivity(java.lang.String,java.lang.String)' in library class android.content.Intent
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.hardware.display.DisplayManagerJellybeanMr1: can't find referenced class android.hardware.display.DisplayManager
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.hardware.display.DisplayManagerJellybeanMr1: can't find referenced class android.hardware.display.DisplayManager
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.hardware.display.DisplayManagerJellybeanMr1: can't find referenced class android.hardware.display.DisplayManager
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.hardware.display.DisplayManagerJellybeanMr1: can't find referenced class android.hardware.display.DisplayManager
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced method 'void addOnWindowAttachListener(android.view.ViewTreeObserver$OnWindowAttachListener)' in library class android.view.ViewTreeObserver
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced method 'void addOnWindowFocusChangeListener(android.view.ViewTreeObserver$OnWindowFocusChangeListener)' in library class android.view.ViewTreeObserver
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced method 'void removeOnWindowAttachListener(android.view.ViewTreeObserver$OnWindowAttachListener)' in library class android.view.ViewTreeObserver
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced method 'void removeOnWindowFocusChangeListener(android.view.ViewTreeObserver$OnWindowFocusChangeListener)' in library class android.view.ViewTreeObserver
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced method 'void setOnGetPlaybackPositionListener(android.media.RemoteControlClient$OnGetPlaybackPositionListener)' in library class android.media.RemoteControlClient
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced method 'void setPlaybackPositionUpdateListener(android.media.RemoteControlClient$OnPlaybackPositionUpdateListener)' in library class android.media.RemoteControlClient
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced method 'void registerMediaButtonEventReceiver(android.app.PendingIntent)' in library class android.media.AudioManager
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced method 'void setPlaybackState(int,long,float)' in library class android.media.RemoteControlClient
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced method 'void unregisterMediaButtonEventReceiver(android.app.PendingIntent)' in library class android.media.AudioManager
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced class android.media.RemoteControlClient$OnGetPlaybackPositionListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced class android.media.RemoteControlClient$OnPlaybackPositionUpdateListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced class android.view.ViewTreeObserver$OnWindowAttachListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced class android.view.ViewTreeObserver$OnWindowFocusChangeListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced class android.view.ViewTreeObserver$OnWindowAttachListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2: can't find referenced class android.view.ViewTreeObserver$OnWindowFocusChangeListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2$1: can't find referenced class android.view.ViewTreeObserver$OnWindowAttachListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.media.TransportMediatorJellybeanMR2$2: can't find referenced class android.view.ViewTreeObserver$OnWindowFocusChangeListener
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.net.ConnectivityManagerCompatJellyBean: can't find referenced method 'boolean isActiveNetworkMetered()' in library class android.net.ConnectivityManager
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.AccessibilityDelegateCompatJellyBean: can't find referenced method 'android.view.accessibility.AccessibilityNodeProvider getAccessibilityNodeProvider(android.view.View)' in library class android.view.View$AccessibilityDelegate
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.AccessibilityDelegateCompatJellyBean: can't find referenced method 'boolean performAccessibilityAction(android.view.View,int,android.os.Bundle)' in library class android.view.View$AccessibilityDelegate
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.AccessibilityDelegateCompatJellyBean$1: can't find referenced class android.view.accessibility.AccessibilityNodeProvider
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.AccessibilityDelegateCompatJellyBean$1: can't find referenced class android.view.accessibility.AccessibilityNodeProvider
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.GravityCompatJellybeanMr1: can't find referenced method 'void apply(int,int,int,android.graphics.Rect,android.graphics.Rect,int)' in library class android.view.Gravity
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.GravityCompatJellybeanMr1: can't find referenced method 'void apply(int,int,int,android.graphics.Rect,int,int,android.graphics.Rect,int)' in library class android.view.Gravity
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.GravityCompatJellybeanMr1: can't find referenced method 'void applyDisplay(int,android.graphics.Rect,android.graphics.Rect,int)' in library class android.view.Gravity
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.MarginLayoutParamsCompatJellybeanMr1: can't find referenced method 'int getMarginStart()' in library class android.view.ViewGroup$MarginLayoutParams
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.MarginLayoutParamsCompatJellybeanMr1: can't find referenced method 'int getMarginEnd()' in library class android.view.ViewGroup$MarginLayoutParams
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.MarginLayoutParamsCompatJellybeanMr1: can't find referenced method 'void setMarginStart(int)' in library class android.view.ViewGroup$MarginLayoutParams
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.MarginLayoutParamsCompatJellybeanMr1: can't find referenced method 'void setMarginEnd(int)' in library class android.view.ViewGroup$MarginLayoutParams
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.MarginLayoutParamsCompatJellybeanMr1: can't find referenced method 'boolean isMarginRelative()' in library class android.view.ViewGroup$MarginLayoutParams
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.MarginLayoutParamsCompatJellybeanMr1: can't find referenced method 'int getLayoutDirection()' in library class android.view.ViewGroup$MarginLayoutParams
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.MarginLayoutParamsCompatJellybeanMr1: can't find referenced method 'void setLayoutDirection(int)' in library class android.view.ViewGroup$MarginLayoutParams
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.MarginLayoutParamsCompatJellybeanMr1: can't find referenced method 'void resolveLayoutDirection(int)' in library class android.view.ViewGroup$MarginLayoutParams
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'boolean hasTransientState()' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'void setHasTransientState(boolean)' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'void postInvalidateOnAnimation()' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'void postOnAnimation(java.lang.Runnable)' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'void postOnAnimationDelayed(java.lang.Runnable,long)' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'int getImportantForAccessibility()' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'void setImportantForAccessibility(int)' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'boolean performAccessibilityAction(int,android.os.Bundle)' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'android.view.accessibility.AccessibilityNodeProvider getAccessibilityNodeProvider()' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'android.view.ViewParent getParentForAccessibility()' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJellybeanMr1: can't find referenced method 'int getLabelFor()' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJellybeanMr1: can't find referenced method 'void setLabelFor(int)' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJellybeanMr1: can't find referenced method 'void setLayerPaint(android.graphics.Paint)' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJellybeanMr1: can't find referenced method 'int getLayoutDirection()' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.ViewCompatJellybeanMr1: can't find referenced method 'void setLayoutDirection(int)' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void addChild(android.view.View,int)' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void setSource(android.view.View,int)' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'boolean isVisibleToUser()' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void setVisibleToUser(boolean)' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'boolean performAction(int,android.os.Bundle)' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void setMovementGranularities(int)' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'int getMovementGranularities()' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'android.view.accessibility.AccessibilityNodeInfo obtain(android.view.View,int)' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'android.view.accessibility.AccessibilityNodeInfo findFocus(int)' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'android.view.accessibility.AccessibilityNodeInfo focusSearch(int)' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void setParent(android.view.View,int)' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'boolean isAccessibilityFocused()' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void setAccessibilityFocused(boolean)' in library class android.view.accessibility.AccessibilityNodeInfo
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityRecordCompatIcsMr1: can't find referenced method 'int getMaxScrollX()' in library class android.view.accessibility.AccessibilityRecord
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityRecordCompatIcsMr1: can't find referenced method 'int getMaxScrollY()' in library class android.view.accessibility.AccessibilityRecord
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityRecordCompatIcsMr1: can't find referenced method 'void setMaxScrollX(int)' in library class android.view.accessibility.AccessibilityRecord
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityRecordCompatIcsMr1: can't find referenced method 'void setMaxScrollY(int)' in library class android.view.accessibility.AccessibilityRecord
[2013-08-14 12:21:41 - LookAround] Warning: android.support.v4.view.accessibility.AccessibilityRecordCompatJellyBean: can't find referenced method 'void setSource(android.view.View,int)' in library class android.view.accessibility.AccessibilityRecord
[2013-08-14 12:21:41 - LookAround] Warning: com.google.android.gms.internal.bn$b: can't find referenced method 'android.view.Display getDisplay()' in library class android.view.View
[2013-08-14 12:21:41 - LookAround] Warning: com.google.android.gms.internal.bn$b: can't find referenced method 'void removeOnGlobalLayoutListener(android.view.ViewTreeObserver$OnGlobalLayoutListener)' in library class android.view.ViewTreeObserver
[2013-08-14 12:21:41 - LookAround] Warning: there were 49 unresolved references to classes or interfaces.
[2013-08-14 12:21:41 - LookAround] You may need to add missing library jars or update their versions.
[2013-08-14 12:21:41 - LookAround] If your code works fine without the missing classes, you can suppress
[2013-08-14 12:21:41 - LookAround] the warnings with '-dontwarn' options.
[2013-08-14 12:21:41 - LookAround] (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
[2013-08-14 12:21:41 - LookAround] Warning: there were 77 unresolved references to library class members.
[2013-08-14 12:21:41 - LookAround] You probably need to update the library versions.
[2013-08-14 12:21:41 - LookAround] (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedlibraryclassmember)
[2013-08-14 12:21:41 - LookAround] Error: Please correct the above warnings first.
and my proguard-project.txt
-libraryjars /libs/android-support-v4.jar
-libraryjars C:/Users/User/workspace/google-play-services_lib/libs/google-play-services.jar
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontoptimize
-dontpreverify
-dontwarn android.support.**
-verbose
-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 * extends android.support.v4.app.FragmentActivity
-keep public class com.google.vending.licensing.ILicensingService
-keep public class com.android.vending.licensing.ILicensingService
-keep public class * extends android.support.v4.app.Fragment
-keep public class * extends android.app.Fragment
-keep class android.support.v4.media.** { *; }
-keep interface android.support.v4.media.** { *; }
-keepclassmembers public class * extends android.view.View {
void set*(***);
*** get*();
}
-assumenosideeffects class android.util.Log {
public static *** d(...);
public static *** v(...);
public static *** w(...);
}
-keepclasseswithmembernames class * {
native <methods>;
}
-keep public class * extends android.view.View {
public <init>(android.content.Context);
}
-keep public class * extends android.view.View {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keep public class * extends android.view.View {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
#Maintain enums
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
#To keep parcelable classes (to serialize - deserialize objects to sent through Intents)
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
#Keep the R
-keepclassmembers class **.R$* {
public static <fields>;
}
Also I am using GoogleMap V2 in my application
As indicated by the link to the ProGuard Troubleshooting page in your console log, you should change the target in project.properties to a target that contains the missing classes. In this case: "android-18" or maybe "Google Inc.:Google APIs:18".
You can still specify a different minSdkVersion in AndroidManifest.xml.
You should not specify any -libraryjars options, since the Android build process already specifies those options for you -- you'll just see warnings about duplicate classes now. In fact, the Android build process specifies most other options for you as well.
I got this after update of Android Support Library to rev.18. Fixed it by adding:
-dontwarn android.support.v4.**
to ProGuard configuration file.
(I use MOTODEV Studio 4.1 and first enable proguard in menu "MOTODEV")
Method one: Add the first line to your proguard.cfg file directly, maybe the second line is needed.
-dontwarn android.support.v4.**
-dontskipnonpubliclibraryclassmembers
Another way: according the proguard-project.txt instruction to remove "#" before ${sdk.dir} in project.properties, then add the above two lines in proguard-project.txt
Related
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.!!
I am using proguard to obfuscate my code in Android Studio.
I have deleted many classes from my project and do not use them but proguard warns me about those deleted classes. If i don't use proguard, the app compiles fine.
I tried Invalidate Caches/Restart option but made no difference.
Here are the warnings :
Warning: com.mypack.myapp.FaceServiceClient$1: can't find superclass or interface com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$2: can't find superclass or interface com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$3: can't find superclass or interface com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$4: can't find superclass or interface com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$5: can't find superclass or interface com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$6: can't find superclass or interface com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$7: can't find superclass or interface com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.AddFaceToPersonActivity$1: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$1: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.SampleApp
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.SampleApp
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$AddFaceTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.SampleApp
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.SampleApp
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$DetectionTask: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter$1: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter
Warning: com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter$1: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter
Warning: com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter$1: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity
Warning: com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter$1: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter
Warning: com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter$1: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter
Warning: com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter$1: can't find referenced class com.mypack.myapp.AddFaceToPersonActivity$FaceGridViewAdapter
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced class com.google.gson.Gson
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced class com.google.gson.Gson
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced method 'java.lang.reflect.Type getType()' in program class com.mypack.myapp.FaceServiceClient$1
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced class com.google.gson.Gson
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced method 'java.lang.reflect.Type getType()' in program class com.mypack.myapp.FaceServiceClient$2
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced method 'java.lang.reflect.Type getType()' in program class com.mypack.myapp.FaceServiceClient$3
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced method 'java.lang.reflect.Type getType()' in program class com.mypack.myapp.FaceServiceClient$4
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced class com.google.gson.Gson
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced method 'java.lang.reflect.Type getType()' in program class com.mypack.myapp.FaceServiceClient$5
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced method 'java.lang.reflect.Type getType()' in program class com.mypack.myapp.FaceServiceClient$6
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced method 'java.lang.reflect.Type getType()' in program class com.mypack.myapp.FaceServiceClient$7
Warning: com.mypack.myapp.FaceServiceClient: can't find referenced class com.google.gson.Gson
Warning: com.mypack.myapp.FaceServiceClient$1: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$1: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$1: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$2: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$2: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$2: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$3: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$3: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$3: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$4: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$4: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$4: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$5: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$5: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$5: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$6: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$6: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$6: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$7: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$7: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.FaceServiceClient$7: can't find referenced class com.google.gson.reflect.TypeToken
Warning: com.mypack.myapp.WebServiceRequest: can't find referenced class com.google.gson.Gson
Warning: com.mypack.myapp.WebServiceRequest: can't find referenced class com.google.gson.Gson
Warning: com.mypack.myapp.WebServiceRequest: can't find referenced class com.mypack.myapp.ServiceCallException
Warning: com.mypack.myapp.WebServiceRequest: can't find referenced class com.google.gson.Gson
Warning: com.mypack.myapp.WebServiceRequest: can't find referenced class com.mypack.myapp.ServiceCallException
Warning: com.mypack.myapp.WebServiceRequest: can't find referenced class com.mypack.myapp.ServiceCallException
Warning: com.mypack.myapp.WebServiceRequest: can't find referenced class com.mypack.myapp.ServiceCallException
Warning: com.mypack.myapp.WebServiceRequest: can't find referenced class com.mypack.myapp.ServiceCallException
Warning: com.mypack.myapp.WebServiceRequest: can't find referenced class com.mypack.myapp.ServiceCallException
Warning: com.mypack.myapp.WebServiceRequest: can't find referenced class com.mypack.myapp.ServiceCallException
Here is the proguard related part in build.gradle :
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}
Here is proguard-rules.pro file :
-verbose
-dontwarn android.support.**
-keep class -verbose
-dontwarn android.support.**
-keep class -verbose
-dontwarn android.support.**
-keep class com.mypack.myapp.R {
*;
}
#below commands for including the line numbers in traces
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable.R {
*;
}
For anyone having the same problem, the problem is solved by simply deleting the entire build folder.
I have seen a bunch of other similar post but still dont understand what is wrong with my code. I am trying to export a signed APK in android and get these errors:
[2014-02-18 21:20:35 - Bounce-android] Proguard returned with error code 1. See console
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeProviderCompatJellyBean$1: can't find superclass or interface android.view.accessibility.AccessibilityNodeProvider
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find superclass or interface android.service.dreams.DreamService
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NavUtilsJB: can't find referenced method 'android.content.Intent getParentActivityIntent()' in class android.app.Activity
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NavUtilsJB: can't find referenced method 'boolean shouldUpRecreateTask(android.content.Intent)' in class android.app.Activity
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NavUtilsJB: can't find referenced method 'boolean navigateUpTo(android.content.Intent)' in class android.app.Activity
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NavUtilsJB: can't find referenced field 'java.lang.String parentActivityName' in class android.content.pm.ActivityInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced method 'android.app.Notification$Builder setSubText(java.lang.CharSequence)' in class android.app.Notification$Builder
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced method 'android.app.Notification$Builder setUsesChronometer(boolean)' in class android.app.Notification$Builder
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced method 'android.app.Notification$Builder setPriority(int)' in class android.app.Notification$Builder
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced method 'android.app.Notification$Builder addAction(int,java.lang.CharSequence,android.app.PendingIntent)' in class android.app.Notification$Builder
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced method 'android.app.Notification build()' in class android.app.Notification$Builder
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigTextStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$BigPictureStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.NotificationCompatJellybean: can't find referenced class android.app.Notification$InboxStyle
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.ShareCompatJB: can't find referenced method 'java.lang.String escapeHtml(java.lang.CharSequence)' in class android.text.Html
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.app.TaskStackBuilderJellybean: can't find referenced method 'android.app.PendingIntent getActivities(android.content.Context,int,android.content.Intent[],int,android.os.Bundle)' in class android.app.PendingIntent
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.content.ContextCompatJellybean: can't find referenced method 'void startActivities(android.content.Intent[],android.os.Bundle)' in class android.content.Context
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.net.ConnectivityManagerCompatJellyBean: can't find referenced method 'boolean isActiveNetworkMetered()' in class android.net.ConnectivityManager
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.AccessibilityDelegateCompatJellyBean: can't find referenced method 'android.view.accessibility.AccessibilityNodeProvider getAccessibilityNodeProvider(android.view.View)' in class android.view.View$AccessibilityDelegate
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.AccessibilityDelegateCompatJellyBean: can't find referenced method 'boolean performAccessibilityAction(android.view.View,int,android.os.Bundle)' in class android.view.View$AccessibilityDelegate
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.AccessibilityDelegateCompatJellyBean$1: can't find referenced class android.view.accessibility.AccessibilityNodeProvider
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.AccessibilityDelegateCompatJellyBean$1: can't find referenced class android.view.accessibility.AccessibilityNodeProvider
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'boolean hasTransientState()' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'void setHasTransientState(boolean)' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'void postInvalidateOnAnimation()' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'void postOnAnimation(java.lang.Runnable)' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'void postOnAnimationDelayed(java.lang.Runnable,long)' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'int getImportantForAccessibility()' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'void setImportantForAccessibility(int)' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'boolean performAccessibilityAction(int,android.os.Bundle)' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.ViewCompatJB: can't find referenced method 'android.view.accessibility.AccessibilityNodeProvider getAccessibilityNodeProvider()' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.ViewCompatJellybeanMr1: can't find referenced method 'int getLabelFor()' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.ViewCompatJellybeanMr1: can't find referenced method 'void setLabelFor(int)' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void addChild(android.view.View,int)' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void setSource(android.view.View,int)' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'boolean isVisibleToUser()' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void setVisibleToUser(boolean)' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'boolean performAction(int,android.os.Bundle)' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void setMovementGranularities(int)' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'int getMovementGranularities()' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'android.view.accessibility.AccessibilityNodeInfo obtain(android.view.View,int)' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'android.view.accessibility.AccessibilityNodeInfo findFocus(int)' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'android.view.accessibility.AccessibilityNodeInfo focusSearch(int)' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void setParent(android.view.View,int)' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'boolean isAccessibilityFocused()' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeInfoCompatJellyBean: can't find referenced method 'void setAccessibilityFocused(boolean)' in class android.view.accessibility.AccessibilityNodeInfo
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeProviderCompatJellyBean$1: can't find referenced class android.view.accessibility.AccessibilityNodeProvider
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityNodeProviderCompatJellyBean$1: can't find referenced class android.view.accessibility.AccessibilityNodeProvider
[2014-02-18 21:20:35 - Bounce-android] Warning: android.support.v4.view.accessibility.AccessibilityRecordCompatJellyBean: can't find referenced method 'void setSource(android.view.View,int)' in class android.view.accessibility.AccessibilityRecord
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced class android.service.dreams.DreamService
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced method 'android.content.res.AssetManager getAssets()' in class com.badlogic.gdx.backends.android.AndroidDaydream
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced method 'java.io.File getFilesDir()' in class com.badlogic.gdx.backends.android.AndroidDaydream
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced method 'void setFullscreen(boolean)' in class com.badlogic.gdx.backends.android.AndroidDaydream
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced method 'void setContentView(android.view.View,android.view.ViewGroup$LayoutParams)' in class com.badlogic.gdx.backends.android.AndroidDaydream
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced method 'java.lang.Object getSystemService(java.lang.String)' in class com.badlogic.gdx.backends.android.AndroidDaydream
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced method 'android.view.Window getWindow()' in class com.badlogic.gdx.backends.android.AndroidDaydream
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced class android.service.dreams.DreamService
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced class android.service.dreams.DreamService
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced class android.service.dreams.DreamService
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced method 'android.content.SharedPreferences getSharedPreferences(java.lang.String,int)' in class com.badlogic.gdx.backends.android.AndroidDaydream
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced class android.service.dreams.DreamService
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream: can't find referenced class android.service.dreams.DreamService
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidDaydream$1: can't find referenced method 'void finish()' in class com.badlogic.gdx.backends.android.AndroidDaydream
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidGraphicsDaydream: can't find referenced method 'android.view.WindowManager getWindowManager()' in class com.badlogic.gdx.backends.android.AndroidDaydream
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidGraphicsDaydream: can't find referenced class android.service.dreams.DreamService
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.backends.android.AndroidGraphicsDaydream: can't find referenced class android.service.dreams.DreamService
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.NativeCodeGenerator
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.NativeCodeGenerator
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.NativeCodeGenerator
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget$TargetOs
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget$TargetOs
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget$TargetOs
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget$TargetOs
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget$TargetOs
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.AntScriptGenerator
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.AntScriptGenerator
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildConfig
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildConfig
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.AntScriptGenerator
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget$TargetOs
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.badlogic.gdx.utils.GdxBuild: can't find referenced class com.badlogic.gdx.jnigen.BuildTarget
[2014-02-18 21:20:35 - Bounce-android] Warning: com.google.android.gms.common.images.a: can't find referenced method 'android.graphics.drawable.Drawable[] getCompoundDrawablesRelative()' in class android.widget.TextView
[2014-02-18 21:20:35 - Bounce-android] Warning: com.google.android.gms.common.images.a: can't find referenced method 'void setCompoundDrawablesRelativeWithIntrinsicBounds(android.graphics.drawable.Drawable,android.graphics.drawable.Drawable,android.graphics.drawable.Drawable,android.graphics.drawable.Drawable)' in class android.widget.TextView
[2014-02-18 21:20:35 - Bounce-android] Warning: com.google.android.gms.internal.ck: can't find referenced method 'java.lang.String getDefaultUserAgent(android.content.Context)' in class android.webkit.WebSettings
[2014-02-18 21:20:35 - Bounce-android] Warning: com.google.android.gms.internal.ck: can't find referenced method 'void setMediaPlaybackRequiresUserGesture(boolean)' in class android.webkit.WebSettings
[2014-02-18 21:20:35 - Bounce-android] Warning: com.google.android.gms.internal.es$b: can't find referenced method 'android.view.Display getDisplay()' in class android.view.View
[2014-02-18 21:20:35 - Bounce-android] Warning: com.google.android.gms.internal.es$b: can't find referenced method 'void removeOnGlobalLayoutListener(android.view.ViewTreeObserver$OnGlobalLayoutListener)' in class android.view.ViewTreeObserver
[2014-02-18 21:20:35 - Bounce-android] You should check if you need to specify additional program jars.
[2014-02-18 21:20:35 - Bounce-android] Warning: there were 59 unresolved references to classes or interfaces.
[2014-02-18 21:20:35 - Bounce-android] You may need to specify additional library jars (using '-libraryjars').
[2014-02-18 21:20:35 - Bounce-android] Warning: there were 55 unresolved references to program class members.
[2014-02-18 21:20:35 - Bounce-android] Your input classes appear to be inconsistent.
[2014-02-18 21:20:35 - Bounce-android] You may need to recompile them and try again.
[2014-02-18 21:20:35 - Bounce-android] Alternatively, you may have to specify the option
[2014-02-18 21:20:35 - Bounce-android] '-dontskipnonpubliclibraryclassmembers'.
[2014-02-18 21:20:35 - Bounce-android] java.io.IOException: Please correct the above warnings first.
[2014-02-18 21:20:35 - Bounce-android] at proguard.Initializer.execute(Initializer.java:321)
[2014-02-18 21:20:35 - Bounce-android] at proguard.ProGuard.initialize(ProGuard.java:211)
[2014-02-18 21:20:35 - Bounce-android] at proguard.ProGuard.execute(ProGuard.java:86)
[2014-02-18 21:20:35 - Bounce-android] at proguard.ProGuard.main(ProGuard.java:492)
I am using LibGDX, google game service, in app billing and admob.
This is my progaurd:
-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>;
}
-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.app.Activity {
public void *(android.view.View);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}
-keepnames #com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
#com.google.android.gms.common.annotation.KeepName *;
}
-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;
}
Anyone who can help me?
Getting the proguard config right quite often wheels like a game of whack-a-mole. The first challenge is to get something working, then to polish the config so you force proguard to pull in as little as needed. Some things to try to get rid of warnings etc from your output, and possibly force proguard to keep more of the needed stuff:
# Libgdx stuff
-dontwarn com.badlogic.gdx.jnigen.*
-keep class com.badlogic.**
-keep public class android.content.Context
-keep public interface com.badlogic.gdx.Application
-keep public class com.badlogic.gdx.backends.android.AndroidApplicationConfiguration
-dontwarn android.support.v4.**
-keep class java.lang.reflect.**
You get the idea..
I integrated SPen and Chord to my company's android game, and as a result when i try to build the app with obfuscation i'm getting the following error (warning - its a long one):
Proguard returned with error code 1. See console
Proguard Error 1
Output:
Warning: android.sec.multiwindow.Constants$WindowManagerPolicy: can't find referenced class android.view.WindowManagerPolicy
Warning: android.sec.multiwindow.MultiWindowManager: can't find referenced method 'java.util.List getRunningTasks(int,int,android.app.IThumbnailReceiver)' in class android.app.ActivityManager
Warning: com.google.common.base.Absent: can't find referenced class javax.annotation.Nullable
Warning: com.google.common.base.Absent: can't find referenced class javax.annotation.Nullable
Warning: com.google.common.base.CharMatcher: can't find referenced class javax.annotation.CheckReturnValue
Warning: com.google.common.base.CharMatcher: can't find referenced class javax.annotation.CheckReturnValue
Warning: com.google.common.base.CharMatcher: can't find referenced class javax.annotation.CheckReturnValue
Warning: com.google.common.base.CharMatcher: can't find referenced class javax.annotation.CheckReturnValue
Warning: com.google.common.base.CharMatcher: can't find referenced class javax.annotation.CheckReturnValue
Warning: com.google.common.base.CharMatcher: can't find referenced class javax.annotation.CheckReturnValue
Warning: com.google.common.base.CharMatcher: can't find referenced class javax.annotation.CheckReturnValue
Warning: com.google.common.base.CharMatcher: can't find referenced class javax.annotation.CheckReturnValue
Warning: com.google.common.base.CharMatcher: can't find referenced class javax.annotation.CheckReturnValue
.
.
.
.
Warning: com.samsung.sdraw.CanvasView: can't find referenced field 'android.text.Layout$Alignment ALIGN_LEFT' in class android.text.Layout$Alignment
Warning: com.samsung.sdraw.CanvasView: can't find referenced field 'android.text.Layout$Alignment ALIGN_RIGHT' in class android.text.Layout$Alignment
Warning: com.samsung.sdraw.CanvasView: can't find referenced method 'void setCursorColor(int)' in class com.samsung.sdraw.t
Warning: com.samsung.sdraw.PresetListItem: can't find referenced method 'void setHoverPopupType(int)' in class android.widget.ImageButton
Warning: com.samsung.sdraw.ad: can't find referenced method 'void setHoverPopupType(int)' in class android.view.View
Warning: com.samsung.sdraw.ae: can't find referenced method 'void setHoverPopupType(int)' in class android.view.View
Warning: com.samsung.sdraw.bf: can't find referenced method 'void setHoverPopupType(int)' in class android.view.View
Warning: com.samsung.sdraw.bf: can't find referenced method 'void setHoverPopupType(int)' in class com.samsung.sdraw.CustomSeekBar
Warning: com.samsung.sdraw.bf: can't find referenced method 'void setHoverPopupType(int)' in class com.samsung.sdraw.dl
Warning: com.samsung.sdraw.bg: can't find referenced method 'void setHoverPopupType(int)' in class android.view.View
Warning: com.samsung.sdraw.bg: can't find referenced method 'void setHoverPopupType(int)' in class com.samsung.sdraw.CustomSeekBar
Warning: com.samsung.sdraw.bg: can't find referenced method 'void setHoverPopupType(int)' in class com.samsung.sdraw.dl
Warning: com.samsung.sdraw.bo: can't find referenced method 'void setHoverPopupType(int)' in class android.widget.ImageButton
Warning: com.samsung.sdraw.dh: can't find referenced method 'void setHoverPopupType(int)' in class com.samsung.sdraw.dl
Warning: com.samsung.sdraw.di: can't find referenced method 'void setHoverPopupType(int)' in class com.samsung.sdraw.dl
Warning: com.samsung.sdraw.w: can't find referenced method 'void setHoverPopupType(int)' in class android.widget.SeekBar
Warning: com.samsung.sdraw.x: can't find referenced method 'void setHoverPopupType(int)' in class android.widget.SeekBar
You should check if you need to specify additional program jars.
Warning: there were 1071 unresolved references to classes or interfaces.
You may need to specify additional library jars (using '-libraryjars').
Warning: there were 18 unresolved references to program class members.
Your input classes appear to be inconsistent.
You may need to recompile them and try again.
Alternatively, you may have to specify the option
'-dontskipnonpubliclibraryclassmembers'.
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)
The SPen libraries are somehow involved in this error, but i'm using the 2.3 version so it should be fixed.
Any help will be appreciated!
I am using Proguard in my app.
One day, it suddenly started to give me these errors. It's like Proguard can't find any of my classes.
What could I have done to trigger this and how can I fix this?
This is my proguard settings:
-keepattributes Signature
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable
-libraryjars adt-bundle-windows-x86_64/sdk/extras/android/support/v4/android-support-v4.jar
-libraryjars libs/FlurryAgent.jar
-libraryjars libs/libGoogleAnalyticsV2.jar
-libraryjars libs/crittercism_v3_0_7_sdkonly.jar
-libraryjars libs/gson-2.2.2.jar
-libraryjars libs/urbanairship-lib-2.1.4.jar
# Gson
# Gson uses generic type information stored in a class file when working with fields. Proguard
# removes such information by default, so configure it to keep all of it.
-keepattributes Signature
# Gson deserialization uses introspection to get the json entry names for the field names,
# so we do not want to change them.
-keep class com.ftbpro.data.model.** { *; }
# Admob & Analytics
-dontwarn com.google.ads.**
-keep public class com.google.** {*;}
# Flurry
-keep class com.flurry.** { *; }
-dontwarn com.flurry.**
# Crittercism
-keep public class com.crittercism.**
-keepclassmembers public class com.crittercism.*
{
*;
}
#FB method signature workaround
-keep class com.facebook.** { *; }
-keep class android.webkit.WebViewClient
-keep class * extends android.webkit.WebViewClient
-keepclassmembers class * extends android.webkit.WebViewClient {
<methods>;
}
This are my libs:
-libraryjars libs/android-query.0.25.10.jar
-libraryjars libs/android-support-v4.jar
-libraryjars libs/FlurryAgent.jar
-libraryjars libs/nineoldandroids-2.4.0.jar
-libraryjars libs/libGoogleAnalyticsV2.jar
-libraryjars libs/crittercism_v3_0_7_sdkonly.jar
-libraryjars libs/gson-2.2.2.jar
-libraryjars libs/urbanairship-lib-2.1.4.jar
This is the error massages:
[2013-06-19 10:30:15 - FTBPro] Proguard returned with error code 1. See console
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find superclass or interface com.nineoldandroids.animation.Animator$AnimatorListener
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.FacebookFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.facebook.widget.FacebookFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.FriendPickerFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.facebook.widget.FriendPickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.FriendPickerFragment: can't find referenced method 'java.lang.String getString(int)' in class com.facebook.widget.FriendPickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.GraphObjectPagingLoader: can't find referenced method 'boolean isStarted()' in class com.facebook.widget.GraphObjectPagingLoader
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.PickerFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.facebook.widget.PickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.PickerFragment: can't find referenced method 'android.view.View getView()' in class com.facebook.widget.PickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.PickerFragment: can't find referenced method 'java.lang.String getString(int)' in class com.facebook.widget.PickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.PickerFragment$LoadingStrategy: can't find referenced method 'android.support.v4.app.LoaderManager getLoaderManager()' in class com.facebook.widget.PickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.PickerFragment$LoadingStrategy: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.facebook.widget.PickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.PlacePickerFragment: can't find referenced method 'android.view.View getView()' in class com.facebook.widget.PlacePickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.PlacePickerFragment: can't find referenced method 'void onAttach(android.app.Activity)' in class com.facebook.widget.PickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.PlacePickerFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.facebook.widget.PlacePickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.PlacePickerFragment: can't find referenced method 'java.lang.String getString(int)' in class com.facebook.widget.PlacePickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.PlacePickerFragment$1: can't find referenced method 'java.lang.String getString(int,java.lang.Object[])' in class com.facebook.widget.PlacePickerFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.UserSettingsFragment: can't find referenced method 'android.content.res.Resources getResources()' in class com.facebook.widget.UserSettingsFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.UserSettingsFragment: can't find referenced method 'void onCreate(android.os.Bundle)' in class com.facebook.widget.FacebookFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.UserSettingsFragment: can't find referenced method 'void setRetainInstance(boolean)' in class com.facebook.widget.UserSettingsFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.UserSettingsFragment: can't find referenced method 'void onResume()' in class com.facebook.widget.FacebookFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.UserSettingsFragment: can't find referenced method 'boolean isAdded()' in class com.facebook.widget.UserSettingsFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.facebook.widget.UserSettingsFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.facebook.widget.UserSettingsFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.Application: can't find referenced class com.androidquery.callback.BitmapAjaxCallback
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.Application: can't find referenced class com.androidquery.callback.BitmapAjaxCallback
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.EventsFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.EventsFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.EventsFragment: can't find referenced method 'android.content.res.Resources getResources()' in class com.ftbpro.app.EventsFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.EventsFragment$1: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.EventsFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.EventsFragment$1: can't find referenced method 'android.content.Intent getIntent()' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.EventsFragment$LiveEventsAdapter: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.EventsFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.FeedListFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.AQuery
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.AQuery
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced method 'android.content.res.Resources getResources()' in class com.ftbpro.app.FeedListFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced method 'void startActivity(android.content.Intent)' in class com.ftbpro.app.FeedListFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.AQuery
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.AQuery
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.AQuery
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.AQuery
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.AQuery
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.callback.ImageOptions
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.callback.ImageOptions
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.callback.ImageOptions
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.callback.ImageOptions
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.AQuery
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.AQuery
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment: can't find referenced class com.androidquery.callback.ImageOptions
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment$FeedListAdapter: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.FeedListFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment$MorePostsLoaderTask: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.FeedListFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment$NewPostsLoaderTask: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.FeedListFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.FeedListFragment$PullToRefreshHeader: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.FeedListFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity: can't find referenced method 'void setContentView(int)' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity: can't find referenced method 'android.content.res.Resources getResources()' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity: can't find referenced method 'android.support.v4.app.FragmentManager getSupportFragmentManager()' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity: can't find referenced method 'java.lang.String getString(int)' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity: can't find referenced method 'android.content.Intent getIntent()' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity: can't find referenced method 'android.view.View findViewById(int)' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity: can't find referenced method 'void startActivity(android.content.Intent)' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity: can't find referenced method 'void finish()' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity$1: can't find referenced method 'void startActivity(android.content.Intent)' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity$1: can't find referenced method 'void finish()' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity$DownloadLiveMatchTask: can't find referenced method 'android.content.Intent getIntent()' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity$DownloadLiveMatchTask: can't find referenced method 'android.content.res.AssetManager getAssets()' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity$DownloadLiveMatchTask: can't find referenced method 'android.view.View findViewById(int)' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity$DownloadLiveMatchTask: can't find referenced method 'android.content.res.Resources getResources()' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.LiveMatchActivity$DownloadLiveMatchTask: can't find referenced method 'void finish()' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'void setContentView(int)' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'android.view.View findViewById(int)' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'android.support.v4.app.FragmentManager getSupportFragmentManager()' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'java.lang.String getString(int)' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'boolean isTaskRoot()' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced class com.androidquery.util.AQUtility
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced class com.androidquery.util.AQUtility
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'void startActivityForResult(android.content.Intent,int)' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'void startActivity(android.content.Intent)' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'android.content.res.AssetManager getAssets()' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'android.content.res.Resources getResources()' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'android.content.pm.PackageManager getPackageManager()' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'java.lang.String getPackageName()' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'android.content.ComponentName startService(android.content.Intent)' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'android.view.WindowManager getWindowManager()' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced method 'java.io.File getExternalFilesDir(java.lang.String)' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced class com.androidquery.util.AQUtility
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced class com.androidquery.callback.BitmapAjaxCallback
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced class com.androidquery.callback.BitmapAjaxCallback
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity: can't find referenced class com.androidquery.callback.BitmapAjaxCallback
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity$LoadLiveMatchTask: can't find referenced method 'android.view.View findViewById(int)' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.MainActivity$PushNotificationsRegistrationTask: can't find referenced method 'android.content.ContentResolver getContentResolver()' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning:
com.ftbpro.app.MainActivity$PushNotificationsRegistrationTask: can't find referenced method 'android.content.Context getApplicationContext()' in class com.ftbpro.app.MainActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.PaneFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.PaneFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.RankTableFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.RankTableFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.RankTableFragment$DataLoaderTask: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.RankTableFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.RankTableFragment$DataLoaderTask: can't find referenced method 'android.content.res.Resources getResources()' in class com.ftbpro.app.RankTableFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.RankTableFragment$RankAdapter: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.RankTableFragment
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.animation.Animator$AnimatorListener
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.ReactionsFragmet
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced method 'android.view.View getView()' in class com.ftbpro.app.ReactionsFragmet
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced method 'void startActivityForResult(android.content.Intent,int)' in class com.ftbpro.app.ReactionsFragmet
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.view.ViewPropertyAnimator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.view.ViewPropertyAnimator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.view.ViewPropertyAnimator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.view.ViewPropertyAnimator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.view.ViewPropertyAnimator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.view.ViewPropertyAnimator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced method 'android.content.res.Resources getResources()' in class com.ftbpro.app.ReactionsFragmet
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.animation.Animator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.animation.Animator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.animation.Animator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.animation.Animator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.animation.Animator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.animation.Animator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.animation.Animator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.animation.Animator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet: can't find referenced class com.nineoldandroids.animation.Animator
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet$PostAndGetReactions: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.ftbpro.app.ReactionsFragmet
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet$PostAndGetReactions: can't find referenced method 'android.support.v4.app.FragmentManager getSupportFragmentManager()' in class com.ftbpro.app.LiveMatchActivity
[2013-06-19 10:30:15 - FTBPro] Warning: com.ftbpro.app.ReactionsFragmet$PostAndGetReactions: can't find referenced method 'android.view.View getView()' in class com.ftbpro.app.ReactionsFragmet
[2013-06-19 10:30:15 - FTBPro] Warning: there were 39 unresolved references to classes or interfaces.
[2013-06-19 10:30:15 - FTBPro] You may need to add missing library jars or update their versions.
[2013-06-19 10:30:15 - FTBPro] If your code works fine without the missing classes, you can suppress
[2013-06-19 10:30:15 - FTBPro] the warnings with '-dontwarn' options.
[2013-06-19 10:30:15 - FTBPro] Warning: there were 76 unresolved references to program class members.
[2013-06-19 10:30:15 - FTBPro] Your input classes appear to be inconsistent.
[2013-06-19 10:30:15 - FTBPro] You may need to recompile the code or update the library versions.
[2013-06-19 10:30:15 - FTBPro] Alternatively, you may have to specify the option
[2013-06-19 10:30:15 - FTBPro] '-dontskipnonpubliclibraryclassmembers'.
[2013-06-19 10:30:15 - FTBPro] java.io.IOException: Please correct the above warnings first.
[2013-06-19 10:30:15 - FTBPro] at proguard.Initializer.execute(Initializer.java:330)
[2013-06-19 10:30:15 - FTBPro] at proguard.ProGuard.initialize(ProGuard.java:212)
[2013-06-19 10:30:15 - FTBPro] at proguard.ProGuard.execute(ProGuard.java:87)
[2013-06-19 10:30:15 - FTBPro] at proguard.ProGuard.main(ProGuard.java:484)
Thanks!
try to add these line very first on our proguard.cfg file on your project as below:
-ignorewarnings
add all references are checked on your project properties import and export like below screen shots: