java - When I generated release APK with proguard I am getting errors -


how resolve error?

warning:com.parse.parseokhttpclient: can't find referenced class com.squareup.okhttp.headers  warning:com.ocpsoft.pretty.time.web.jsf.prettytimeconverter: can't find referenced class javax.faces.context.facescontext  warning:exception while processing task java.io.ioexception: please correct above warnings first.  error:execution failed task ':project1:transformclassesandresourceswithproguardforrelease'.<br>  java.io.ioexception: please correct above warnings first. 

add proguard-rules.pro file in project:

-keep class com.squareup.** {*;} -dontwarn com.squareup.** -keep class com.ocpsoft.** {*;} -dontwarn com.ocpsoft.** 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -