问题
I have already included following line to keep all files inside the package.
-keep class com.fasterxml.** { *; }
I am getting following exception.
Caused by: java.lang.IllegalArgumentException: Internal error: TypeReference constructed without actual type information
at com.fasterxml.jackson.core.type.TypeReference.<init>(SourceFile:36)
回答1:
I found the solution. Adding following find into ProGuard-rules or Config file solved the issue.
-keepattributes Signature
PS: Please voteup if you find this helpful
来源:https://stackoverflow.com/questions/28433281/how-to-include-typereference-proguard-rule