EventBus
EventBus copied to clipboard
Stack size becomes negative after instruction [64] invokestatic #222
Hi.I got a error When I started to pack the official package.The build output said :
Stack size becomes negative after instruction [64] invokestatic #222 in [com/x/y/main/activity/MainActivity.onMainEvent(Lcom/x/y/event/EventManager$BaseEvent;)V]
And my BaseEvent just a simple object: open class BaseEvent { }
my module gradle:
buildscript {
ext.kotlin_version = '1.3.72'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
My androidSupportVersion is 28.0.0 and Event Bus version is 3.2.0. Now because of this problem, I can't make a formal package. Is this a problem with Event Bus?
add -keep class cn.jpush.** { *; } to proguard-rules.pro
may help u solve it