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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -