应用程序崩溃启用Proguard

han*_*sen 7 java eclipse obfuscation android proguard

我的应用程序运行完美,没有启用proguard但是当我启用它时,应用程序立即崩溃.我在配置中尝试了很多组合无济于事.

有什么东西我应该保留,我失踪了吗?

proguard config:https://gist.github.com/hanleyhansen/99fc07807950bae8e4f5

未经模糊处理的日志:https://gist.github.com/hanleyhansen/6cba7fc941a79d85802f

onSuccess():https://gist.github.com/hanleyhansen/e7a4916c42d3ca065c99

han*_*sen 6

我发现了有问题的代码.我更改了我的Proguard.cfg以匹配以下内容:

https://github.com/google/gson/blob/9f8ace9ac4c56b82eba1bbd8b44f80e042bda7e0/examples/android-proguard-example/proguard.cfg

现在一切正常!