
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 – 指令后堆栈大小变为负数所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)