我在這裏的時間很短,所以我真的希望這裏有人有線索如何解決這些問題:Android的Ant構建:proguard的找不到類引用方法ViewConfigurationCompatFroyo
[proguard] Warning: android.support.v4.view.ViewConfigurationCompatFroyo: can't find referenced method 'int getScaledPagingTouchSlop()' in class android.view.ViewConfiguration
[proguard] Note: org.codehaus.jackson.map.deser.BasicDeserializerFactory: can't find dynamically referenced class java.util.ConcurrentNavigableMap
[proguard] Note: org.codehaus.jackson.map.deser.BasicDeserializerFactory: can't find dynamically referenced class java.util.ConcurrentSkipListMap
[proguard] Note: there were 2 unresolved dynamic references to classes or interfaces.
[proguard] You should check if you need to specify additional program jars.
[proguard] Warning: there were 1 unresolved references to program class members.
[proguard] Your input classes appear to be inconsistent.
[proguard] You may need to recompile them and try again.
[proguard] Alternatively, you may have to specify the options
[proguard] '-dontskipnonpubliclibraryclasses' and/or
[proguard] '-dontskipnonpubliclibraryclassmembers'.
我已經嘗試過添加多的東西:
-dontwarn **CompatHoneycomb
-dontwarn **CompatCreatorHoneycombMR2
-keep class android.support.v4.** { *; }
,並(在傑克遜錯誤):
-libraryjars /Libraries/Joda/joda-time-1.6.2.jar
-libraryjars /Libraries/stax2-api-3.0.0.jar
-libraryjars /Libraries/jsr311-api-0.8.jar
-libraryjars /Libraries/httpmime-4.0.1.jar
任何人有線索我在我的proguard.cfg中缺少這些引用?或者有關如何更普遍地調查/解決問題的一些提示?
我帶來了下來,從472個警告只是這些,大多是通過添加dontwarn聲明: -dontwarn java.awt中。 ,javax.security。,java.beans。 ,javax.xml。,java.util。 ,org.w3c.dom。
編輯:遷移到答案
這仍然是一個「未回答」的問題。你能回答你自己的問題,然後接受答案嗎?這會將其從「未答覆」列表中刪除。 –
我已經將您的編輯遷移到您的答案,現在您只需接受它。 –