android – 指令后堆栈大小变为负数

android – 指令后堆栈大小变为负数,第1张

概述It has been pointed out that the reason I am having this problem is because of proguard 4.9,所以我继续更新到proguard-5.2.1.但我仍然遇到同样的问题.有没有人找到解决方案?我通过确认了新版本 java -jar /projects/tools/android-sdk-macosx/tools/p It has been pointed out that the reason I am having this problem is because of proguard 4.9,所以我继续更新到proguard-5.2.1.但我仍然遇到同样的问题.有没有人找到解决方案?我通过确认了新版本
java -jar /projects/tools/androID-sdk-macosx/tools/proguard/lib/proguard.jar

而我的proguard-rule.pro很简单

#---- 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
    


错误行是

Error:java.lang.IllegalArgumentException: Stack size becomes negative after instruction [72] invokestatic #16 in [com/path/androID/jobqueue/BaseJob.safeRun(I)Z]

谢谢你的任何提示.

更正

由于我使用的是AndroID Studio,听起来我必须处理Proguard插件.如何更新插件?也许这可能有所帮助.

解决方法 将此行添加到proguard-rules.pro文件中:
-keep interface com.birbit.androID.jobqueue.** { *; }
总结

以上是内存溢出为你收集整理的android – 指令堆栈大小变为负数全部内容,希望文章能够帮你解决android – 指令后堆栈大小变为负数所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/web/1135632.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-30
下一篇2022-05-30

发表评论

登录后才能评论

评论列表(0条)

    保存