#643·EventBus

Stack size becomes negative after instruction [64] invokestatic #222

Author: ZfashionCreated May 18, 2020Updated Mar 27, 2023
Labelsmore info required

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?