It has been pointed out that the reason I am having this problem is because of proguard 4.9, so ging ich weiter und aktualisiert auf Proguard-5.2.1. Aber ich habe immer noch das gleiche Problem. Hat jemand eine Lösung gefunden? Ich bestätigte die neue Version durchStack-Größe wird negativ nach Anweisung
java -jar /projects/tools/android-sdk-macosx/tools/proguard/lib/proguard.jar
und meine proguard-rule.pro
ist einfach
#---- Google Cloud Endpoint section
# Needed by google-api-client to keep generic types and @Key annotations accessed via reflection
-keepclassmembers class * {
@com.google.api.client.util.Key <fields>;
}
-keepattributes Signature,RuntimeVisibleAnnotations,AnnotationDefault
-dontwarn com.google.api.client.**
-dontwarn com.google.common.**
#---- Twitter
-include ../proguard-com.twitter.sdk.android.twitter.txt
-dontwarn okio.**
#---- Remove Logging
-assumenosideeffects class android.util.Log {
public static int v(...);
public static int i(...);
public static int w(...);
public static int d(...);
public static int e(...);
}
#---- support design
-dontwarn android.support.design.**
#---- Google ILicencingService
-keep public class com.google.vending.licensing.ILicensingService
-keep public class com.android.vending.licensing.ILicensingService
Die Fehlerleitungen ist
Error:java.lang.IllegalArgumentException: Stack size becomes negative after instruction [72] invokestatiC#16 in [com/path/android/jobqueue/BaseJob.safeRun(I)Z]
Vielen Dank für alle Hinweise.
KORREKTUR
Da ich Android Studio verwenden, klingt es wie ich mit dem Proguard Plugin zu tun habe. Wie aktualisiere ich das Plugin? Vielleicht könnte das helfen.
Ich traf gerade dies auch - auf Version 5.2.1 ... – slott