应用程序崩溃使用ProGuard启用 [英] App Crashing With Proguard Enabled
问题描述
我的应用程序运行完全没有ProGuard的启用,但是当我使其应用程序崩溃的时候了。我已经尝试了多种组合的配置无济于事。
My app runs perfectly without proguard enabled but when I enable it the app crashes right away. I have tried many combinations in the configuration to no avail.
有什么,我应该保持我失踪?
Is there something that I should be keeping that I'm missing?
ProGuard的配置: https://gist.github.com/hanleyhansen/99fc07807950bae8e4f5
proguard config: https://gist.github.com/hanleyhansen/99fc07807950bae8e4f5
是非模糊的日志: https://gist.github.com/hanleyhansen/6cba7fc941a79d85802f
的onSuccess(): https://gist.github.com/hanleyhansen/e7a4916c42d3ca065c99
onSuccess(): https://gist.github.com/hanleyhansen/e7a4916c42d3ca065c99
推荐答案
我发现有问题的code。我改变了我的Proguard.cfg匹配以下:
I found the offending code. I changed my Proguard.cfg to match the following:
<一个href="https://$c$c.google.com/p/google-gson/source/browse/trunk/examples/android-proguard-example/proguard.cfg?r=878">https://$c$c.google.com/p/google-gson/source/browse/trunk/examples/android-proguard-example/proguard.cfg?r=878
而现在一切工作!
这篇关于应用程序崩溃使用ProGuard启用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!