can't find referenced class issue? - android

We are using shopify Android buy sdk to develop this app
compile 'com.shopify.mobilebuysdk:buy3:3.1.1'
compile 'com.shopify.mobilebuysdk:buy3-pay-support:1.0.2'
Error and Warning
warning: com.facebook.cache.common.cacheerrorlogger: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.common.cacheevent: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.common.debuggingcachekey: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.common.noopcacheerrorlogger: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.defaultdiskstorage$fileinfo: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.diskcacheconfig: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.diskcacheconfig$builder: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.diskstoragecache: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.cache.disk.diskstoragecache: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.diskstoragecache: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.cache.disk.dynamicdefaultdiskstorage$state: can't find referenced class javax.annotation.nullable
warning: com.facebook.cache.disk.settablecacheevent: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.executors.handlerexecutorserviceimpl: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.executors.scheduledfutureimpl: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.internal.closeables: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.internal.objects: can't find referenced class javax.annotation.checkreturnvalue
warning: com.facebook.common.internal.objects: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.internal.objects$tostringhelper: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.internal.preconditions: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.internal.throwables: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.media.mediautils: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.references.closeablereference: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.common.references.closeablereference: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.references.oomsoftreference: can't find referenced class javax.annotation.nonnull
warning: com.facebook.common.references.oomsoftreference: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.references.sharedreference: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.common.statfs.statfshelper: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.common.statfs.statfshelper: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.statfs.statfshelper: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.common.util.hashcodeutil: can't find referenced class javax.annotation.nullable
warning: com.facebook.common.util.uriutil: can't find referenced class javax.annotation.nullable
warning: com.facebook.datasource.abstractdatasource: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.datasource.abstractdatasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.datasource.datasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.datasource.firstavailabledatasourcesupplier: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.datasource.firstavailabledatasourcesupplier$firstavailabledatasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.datasource.firstavailabledatasourcesupplier$firstavailabledatasource: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.datasource.increasingqualitydatasourcesupplier: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.datasource.increasingqualitydatasourcesupplier$increasingqualitydatasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.datasource.increasingqualitydatasourcesupplier$increasingqualitydatasource: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.datasource.increasingqualitydatasourcesupplier$increasingqualitydatasource: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.drawee.backends.pipeline.drawablefactory: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.draweeconfig: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.fresco: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.pipelinedraweecontroller: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.pipelinedraweecontrollerbuilder: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.pipelinedraweecontrollerbuildersupplier: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.backends.pipeline.pipelinedraweecontrollerfactory: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.abstractdraweecontroller: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.abstractdraweecontroller: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.drawee.controller.abstractdraweecontrollerbuilder: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.abstractdraweecontrollerbuilder$1: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.basecontrollerlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.controllerlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.forwardingcontrollerlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.controller.forwardingcontrollerlistener: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.drawee.drawable.arraydrawable: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.drawable.drawableutils: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.drawable.roundedbitmapdrawable: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.drawable.scalingutils$interpolatingscaletype: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.generic.genericdraweehierarchy: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.generic.genericdraweehierarchybuilder: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.generic.genericdraweehierarchyinflater: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.generic.rootdrawable: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.generic.wrappingutils: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.interfaces.draweecontroller: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.interfaces.simpledraweecontrollerbuilder: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.view.aspectratiomeasure: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.view.draweeholder: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.view.draweeview: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.view.genericdraweeview: can't find referenced class javax.annotation.nullable
warning: com.facebook.drawee.view.simpledraweeview: can't find referenced class javax.annotation.nullable
warning: com.facebook.imageformat.imageformat: can't find referenced class javax.annotation.nullable
warning: com.facebook.imageformat.imageformat$formatchecker: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.animated.factory.animatedfactory: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.bitmaps.artbitmapfactory: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.bitmaps.honeycombbitmapfactory: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.bitmaps.platformbitmapfactory: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.bitmaps.platformbitmapfactory$bitmapcreationobserver: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.bitmapmemorycachekey: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.bitmapmemorycachekey: can't find referenced class javax.annotation.concurrent.immutable
warning: com.facebook.imagepipeline.cache.cachekeyfactory: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.countinglrumap: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.cache.countinglrumap: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.countinglrumap: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.cache.countingmemorycache: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.cache.countingmemorycache: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.countingmemorycache: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.cache.countingmemorycache$entry: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.defaultcachekeyfactory: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.memorycache: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.cache.stagingarea: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.common.imagedecodeoptions: can't find referenced class javax.annotation.concurrent.immutable
warning: com.facebook.imagepipeline.common.priority: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.core.imagepipeline: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.core.imagepipelineconfig: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.core.imagepipelinefactory: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.datasource.abstractproducertodatasourceadapter: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.abstractproducertodatasourceadapter: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.datasource.abstractproducertodatasourceadapter$1: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.basebitmapdatasubscriber: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.closeableproducertodatasourceadapter: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.closeableproducertodatasourceadapter: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.datasource.listdatasource: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.datasource.listdatasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.listdatasource$internaldatasubscriber: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.datasource.producertodatasourceadapter: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.datasource.settabledatasource: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.datasource.settabledatasource: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.image.closeablestaticbitmap: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.image.closeablestaticbitmap: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.image.encodedimage: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.image.encodedimage: can't find referenced class javax.annotation.concurrent.immutable
warning: com.facebook.imagepipeline.listener.baserequestlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.listener.forwardingrequestlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.listener.requestlogginglistener: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.listener.requestlogginglistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.memory.basepool: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.memory.basepool$counter: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.bitmapcounter: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.memory.bitmappool: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.bucket: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.memory.bucket: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.flexbytearraypool: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.genericbytearraypool: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.nativememorychunkpool: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.nativepooledbytebuffer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.memory.nativepooledbytebuffer: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.nativepooledbytebufferfactory: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.memory.nativepooledbytebufferoutputstream: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.oomsoftreferencebucket: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.poolconfig: can't find referenced class javax.annotation.concurrent.immutable
warning: com.facebook.imagepipeline.memory.poolfactory: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.poolparams: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.memory.pooledbytearraybufferedinputstream: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.pooledbytebufferinputstream: can't find referenced class javax.annotation.concurrent.notthreadsafe
warning: com.facebook.imagepipeline.memory.sharedbytearray: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.platform.artdecoder: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.platform.gingerbreadpurgeabledecoder: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.platform.kitkatpurgeabledecoder: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.postprocessors.iterativeboxblurpostprocessor: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.baseconsumer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.baseconsumer: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.producers.basenetworkfetcher: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.baseproducercontext: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.baseproducercontext: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.decodeproducer$progressivedecoder: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.decodeproducer$progressivedecoder: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.jobscheduler: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.localcontenturifetchproducer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.localcontenturithumbnailfetchproducer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.multiplexproducer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.multiplexproducer: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.producers.multiplexproducer$multiplexer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.multiplexproducer$multiplexer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.networkfetchproducer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.networkfetcher: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.postprocessorproducer$postprocessorconsumer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.postprocessorproducer$postprocessorconsumer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.postprocessorproducer$repeatedpostprocessorconsumer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.postprocessorproducer$repeatedpostprocessorconsumer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.producerlistener: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.resizeandrotateproducer$transformingconsumer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.producers.settableproducercontext: can't find referenced class javax.annotation.concurrent.threadsafe
warning: com.facebook.imagepipeline.producers.throttlingproducer: can't find referenced class javax.annotation.concurrent.guardedby
warning: com.facebook.imagepipeline.producers.webptranscodeproducer$webptranscodeconsumer: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.request.basepostprocessor: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.request.imagerequest: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.request.imagerequest: can't find referenced class javax.annotation.concurrent.immutable
warning: com.facebook.imagepipeline.request.imagerequestbuilder: can't find referenced class javax.annotation.nullable
warning: com.facebook.imagepipeline.request.postprocessor: can't find referenced class javax.annotation.nullable
warning: com.facebook.imageutils.bitmaputil: can't find referenced class javax.annotation.nullable
warning: com.github.siyamed.shapeimageview.path.parser.svgtopath: can't find referenced class org.kxml2.io.kxmlparser
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.okhttpclient
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.cache
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.cachecontrol
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.cachecontrol$builder
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.request$builder
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.call
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.response
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.responsebody
warning: com.squareup.picasso.okhttpdownloader: can't find referenced class com.squareup.okhttp.request
warning: okio.deflatersink: can't find referenced class org.codehaus.mojo.animal_sniffer.ignorejrerequirement
warning: okio.okio: can't find referenced class java.nio.file.files
warning: okio.okio: can't find referenced class java.nio.file.path
warning: okio.okio: can't find referenced class java.nio.file.openoption
warning: okio.okio: can't find referenced class org.codehaus.mojo.animal_sniffer.ignorejrerequirement
When we are enabled minifyEnabled true, it showing this errors and unable to developed release apk and there are more errors.

Related

android -progaurd keeps erroring with parse

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

Proguard warns about deleted classes

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.

How to resolve following error while exporting APK in release mode?

:app:proguardDebug
Warning:com.google.common.base.Absent: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.Collections2: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.Tables$UnmodifiableTable: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeBasedTable$TreeRow: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeMultimap: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeMultiset: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeMultiset$Aggregate: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeMultiset$Aggregate$1: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeMultiset$Aggregate$2: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeMultiset$AvlNode: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeMultiset$Reference: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeRangeMap: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeRangeMap$1: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeRangeMap$AsMapOfRanges: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeRangeMap$SubRangeMap: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeRangeMap$SubRangeMap$SubRangeMapAsMap$1: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeRangeSet: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeRangeSet$AsRanges: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeRangeSet$ComplementRangesByLowerBound: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeRangeSet$RangesByUpperBound: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeRangeSet$SubRangeSet: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.TreeRangeSet$SubRangeSetRangesByLowerBound: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.collect.package-info: can't find referenced class javax.annotation.ParametersAreNonnullByDefault
Warning:com.google.common.escape.ArrayBasedUnicodeEscaper: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.escape.Escapers$Builder: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.escape.package-info: can't find referenced class javax.annotation.ParametersAreNonnullByDefault
Warning:com.google.common.eventbus.AnnotatedSubscriberFinder$MethodIdentifier: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.eventbus.EventSubscriber: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.hash.BloomFilter: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.hash.Funnels$SequentialFunnel: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.hash.Funnels$StringCharsetFunnel: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.hash.HashCode: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.hash.Hashing$ConcatenatedHashFunction: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.hash.Murmur3_128HashFunction: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.hash.Murmur3_32HashFunction: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.hash.SipHashFunction: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.hash.package-info: can't find referenced class javax.annotation.ParametersAreNonnullByDefault
Warning:com.google.common.html.package-info: can't find referenced class javax.annotation.ParametersAreNonnullByDefault
Warning:com.google.common.io.AppendableWriter: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.io.BaseEncoding: can't find referenced class javax.annotation.CheckReturnValue
Warning:com.google.common.io.BaseEncoding$StandardBaseEncoding: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.io.CharSource: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.io.Closeables: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.io.Closer: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.io.CountingInputStream: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.io.CountingOutputStream: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.io.MultiInputStream: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.io.MultiReader: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.io.PatternFilenameFilter: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.io.package-info: can't find referenced class javax.annotation.ParametersAreNonnullByDefault
Warning:com.google.common.math.MathPreconditions: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.math.package-info: can't find referenced class javax.annotation.ParametersAreNonnullByDefault
Warning:com.google.common.net.HostAndPort: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.net.HostAndPort: can't find referenced class javax.annotation.concurrent.Immutable
Warning:com.google.common.net.HostSpecifier: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.net.InetAddresses$TeredoInfo: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.net.InternetDomainName: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.net.MediaType: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.net.MediaType: can't find referenced class javax.annotation.concurrent.Immutable
Warning:com.google.common.net.package-info: can't find referenced class javax.annotation.ParametersAreNonnullByDefault
Warning:com.google.common.primitives.Doubles: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.primitives.Floats: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.primitives.Ints: can't find referenced class javax.annotation.CheckForNull
Warning:com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator: can't find referenced class sun.misc.Unsafe
Warning:com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1: can't find referenced class sun.misc.Unsafe
Warning:com.google.common.primitives.UnsignedInteger: can't find referenced class javax.annotation.CheckReturnValue
Warning:com.google.common.primitives.UnsignedInteger: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.primitives.UnsignedLong: can't find referenced class javax.annotation.CheckReturnValue
Warning:com.google.common.primitives.UnsignedLong: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.primitives.package-info: can't find referenced class javax.annotation.ParametersAreNonnullByDefault
Warning:com.google.common.reflect.AbstractInvocationHandler: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.reflect.ClassPath$Scanner: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.reflect.Element: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.reflect.Invokable: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.reflect.Invokable$ConstructorInvokable: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.reflect.Invokable$MethodInvokable: can't find referenced class javax.annotation.Nullable
Warning:com.google.common.reflect.MutableTypeToInstanceMap: can't find referenced class javax.annotation.Nullable
Warning:com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.Request$Builder
Warning:com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.Response
Warning:com.squareup.picasso.OkHttpDownloader: can't find referenced class com.squareup.okhttp.Cache
Warning:com.squareup.picasso.OkHttpDownloader: can't find referenced class
Warning:there were 1326 unresolved references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with '-dontwarn' options.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
:app:proguardDebug FAILED
Error:Execution failed for task ':app:proguardDebug'.
> java.io.IOException: Please correct the above warnings first.
Information:BUILD FAILED
Information:Total time: 8.387 secs
Information:1 error
Information:536 warnings
Information:See complete output in console
Disable the warnings in your proguard config-
-dontwarn javax.annotation.**
The same for other warnings.
If you are pretty confident about your dependencies
You can also use:
-ignorewarnings
This proguard option will take care of all potential warnings simply by ignoring them.

Android using Parse.com - missing classes on Proguard

I am using Parse on a project. The project uses my own Android library project which has the Parse jars in it. When I try to generate a signed apk, gradle gives the following issue:
:exampleApp:proguardRelease Warning:
com.parse.ParseOkHttpClient$CountingOkHttpRequestBody: can't find
superclass or interface com.squareup.okhttp.RequestBody Warning:
com.fasterxml.jackson.databind.ext.DOMSerializer: can't find
referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find
referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find
referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find
referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.OkHttpClient Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.OkHttpClient Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.OkHttpClient Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.OkHttpClient Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.OkHttpClient Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.OkHttpClient Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.OkHttpClient Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.OkHttpClient Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Call Warning: com.parse.ParseOkHttpClient: can't
find referenced class com.squareup.okhttp.Response Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Response Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.ResponseBody Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.ResponseBody Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.Response Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Request$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Request$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Request$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Request$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Request$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Headers$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Headers$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Headers$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Headers$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Request$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Request$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Request$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Request$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Response Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.Request$Builder
Warning: com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Headers$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Headers Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.Call Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.ResponseBody Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.Request Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Headers Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.OkHttpClient Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Request Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.Call Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Response Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.Call Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Call Warning: com.parse.ParseOkHttpClient: can't
find referenced class com.squareup.okhttp.Response Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Response Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.Request Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Request$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Headers$Builder Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Headers Warning: com.parse.ParseOkHttpClient:
can't find referenced class com.squareup.okhttp.Request Warning:
com.parse.ParseOkHttpClient: can't find referenced class
com.squareup.okhttp.Response Warning: com.parse.ParseOkHttpClient$1:
can't find referenced class com.squareup.okhttp.Call Warning:
com.parse.ParseOkHttpClient$1: can't find referenced class
com.squareup.okhttp.Call Warning: com.parse.ParseOkHttpClient$1: can't
find referenced class com.squareup.okhttp.Call Warning:
com.parse.ParseOkHttpClient$1: can't find referenced class
com.squareup.okhttp.Call Warning:
com.parse.ParseOkHttpClient$CountingOkHttpRequestBody: can't find
referenced class com.squareup.okhttp.RequestBody Warning:
com.parse.ParseOkHttpClient$CountingOkHttpRequestBody: can't find
referenced class com.squareup.okhttp.MediaType Warning:
com.parse.ParseOkHttpClient$CountingOkHttpRequestBody: can't find
referenced class okio.BufferedSink Warning:
com.parse.ParseOkHttpClient$CountingOkHttpRequestBody: can't find
referenced class com.squareup.okhttp.RequestBody Warning:
com.parse.ParseOkHttpClient$CountingOkHttpRequestBody: can't find
referenced class com.squareup.okhttp.MediaType Warning:
com.parse.ParseOkHttpClient$CountingOkHttpRequestBody: can't find
referenced class okio.BufferedSink Warning:
com.parse.ParseOkHttpClient$CountingOkHttpRequestBody: can't find
referenced class com.squareup.okhttp.MediaType Warning:
com.parse.ParseOkHttpClient$CountingOkHttpRequestBody: can't find
referenced class okio.BufferedSink Warning:
com.parse.ParseOkHttpClient$CountingOkHttpRequestBody: can't find
referenced class okio.BufferedSink Warning: there were 67 unresolved
references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with '-dontwarn' options.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
:exampleApp:proguardRelease FAILED
FAILURE: Build failed with an exception.
Edit:
Per #karama's suggestion, I added this to my proguard rules:
-keepattributes *Annotation*
-keepattributes Signature
-dontwarn com.squareup.**
-keep class com.squareup.** { *; }
-dontwarn com.parse.ParseOkHttpClient**
-keep class com.parse.ParseOkHttpClient** { *; }
# Proguard configuration for Jackson 2.x (fasterxml package instead of codehaus package)
-keep class com.fasterxml.jackson.databind.ObjectMapper {
public <methods>;
protected <methods>;
}
-keep class com.fasterxml.jackson.databind.ObjectWriter {
public ** writeValueAsString(**);
}
-dontwarn org.w3c.dom.bootstrap.DOMImplementationRegistry
Yet, now I get the following:
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find
referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find
referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find
referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find
referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.fasterxml.jackson.databind.ext.DOMSerializer: can't find
referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: there were 5 unresolved references to classes or interfaces.
If I fix it with adding:
-dontwarn org.w3c.dom.bootstrap.DOMImplementationRegistry
When the app runs, it crashes. I saw this issue here but with no resolution: https://stackoverflow.com/a/11249755/197127
Running the app with -dontobfuscate works fine.
The error is not of parse sdk, it occures because of okHttp. Add below lines in your proguard.
-keepattributes *Annotation*
-keepattributes Signature
-dontwarn com.squareup.**
-keep class com.squareup.** { *; }
Edit
for com.fasterxml.jackson add below code :
-keep class com.fasterxml.jackson.databind.ObjectMapper {
public <methods>;
protected <methods>;
}
-keep class com.fasterxml.jackson.databind.ObjectWriter {
public ** writeValueAsString(**);
}
reference : https://github.com/krschultz/android-proguard-snippets/issues/19

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

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

Categories

Resources