Stack size wird nach Anweisung negativ
Es wurde darauf hingewiesen, dass der Grund, warum ich dieses Problem habe, an Proguard 4.9 liegt., also ging ich weiter und aktualisierte auf proguard-5.2.1. Aber ich habe immer noch das gleiche Problem. Hat jemand eine Lösung gefunden? Ich habe die neue Version durch @ bestäti
java -jar /projects/tools/android-sdk-macosx/tools/proguard/lib/proguard.jar
und meinproguard-rule.pro
ist einfac
#---- 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 Fehlerzeile 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.
KORREKTU
Seit ich Android Studio benutze, muss ich mich anscheinend mit dem Proguard-Plugin auseinandersetzen. Wie aktualisiere ich das Plugin? Vielleicht könnte das helfen.