Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Zfashion opened this issue May 18, 2020 · 1 comment
Open
Labels
more info required Needs more info to become actionable.

Comments

@Zfashion
Copy link

Zfashion commented May 18, 2020

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?

@tomridder
Copy link

add -keep class cn.jpush.** { *; } to proguard-rules.pro
may help u solve it

@greenrobot-team greenrobot-team added the more info required Needs more info to become actionable. label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info required Needs more info to become actionable.
Projects
None yet
Development

No branches or pull requests

3 participants