且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

与Android ADT,Proguard的和外部JAR问题

更新时间:2023-09-14 08:00:10

所以,如果你碰巧发现这个答案,就像,嗯,我有一个问题太多,我希望他张贴了他的解决方案,你也有一半幸运。

So, if you happen to find this answer, and are like, hm, I have that problem too, I wish he posted his solution, you're half in luck.

我的方式固定它只是使用了-libraryjars线在那里,然后

The way I fixed it was to just stick the -libraryjars lines in there, and then

-dontwarn org.apache.commons.logging.LogFactory
-dontwarn net.jcip.annotations.NotThreadSafe
-dontwarn net.jcip.annotations.ThreadSafe
-dontwarn net.jcip.annotations.Immutable

和它工作得很好。这是一个黑客,这是肮脏的,但它解决了我。不幸的是,你还是你自己,如果你也有这样的问题。

And it worked fine. It's a hack, and it's dirty, but it solved it for me. Unfortunately, you're still on your own if you too have this problem.