Volley seems not working after ProGuard obfuscate

前端 未结 1 1620
温柔的废话
温柔的废话 2020-12-19 03:47

I have an Android app which uses Google Volley as my download broker. I just tried to use ProGuard to obfuscate the code, and find out the volley download starts failing at

相关标签:
1条回答
  • 2020-12-19 04:41

    The Apache logging library uses some reflection on its log factories. Keeping their names should be sufficient:

    -keep class org.apache.commons.logging.**
    

    Side-note on your configuration: -keep class ..... always implies -keep interface ....., so you can leave out the latter.

    0 讨论(0)
提交回复
热议问题