ProGuard error can't find superclass or interface org.apache.http.entity

后端 未结 2 1557
执念已碎
执念已碎 2020-12-29 05:16

I get always with ProGuard following error:

[2012-05-19 17:50:13 - xxx] Warning: there were 13 unresolved references to      program class members.
[2012-05-         


        
相关标签:
2条回答
  • 2020-12-29 05:30

    Possibly you need to :

    -keep class org.apache.http.**

    -keep interface org.apache.http.**

    That is assuming of course ProGuard is complaining about the apache classes. Admittedly I am guessing somewhat as I'm no expert on ProGuard.

    0 讨论(0)
  • 2020-12-29 05:49

    The problem exists if you have added "ActionBarSherlock" and "DropBox" jars to your project. To solve the problem, add the below line to your proguard-project.txt file:

    -dontwarn org.apache.**
    

    The warning will be ignored and it will work because each of the jars alone are working. So I think, this will be the bug in ProGuard, if both are added.

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