Restfb lib on android with proguard -


i'm using restfb library in android project, works super fine. when try run proguard it, it's completed successfully, when running app

com.restfb.exception.facebookjsonmappingexception: must specify java type map to. @ com.restfb.defaultjsonmapper.tojavalist(unknown source)

my proguard-project.txt contains lines

-keep class com.restfb.** { *; } -keep interface com.restfb.** { *; } 

am missing something?

the json mapper uses introspection find generic type information. proguard's obfuscation step removes default, because virtual machine doesn't need it, can preserve it:

-keepattributes signature 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -