Rejecting class because it failed compile-time verification Android

后端 未结 5 755
北海茫月
北海茫月 2020-12-11 03:25

One of my application suddenly fails on startup, with the following error message :

java.lang.VerifyError: Rejecting class com.sample.BufferManager

5条回答
  •  Happy的楠姐
    2020-12-11 04:09

    If you are building with Jack, make sure it's turned off from build.gradle

    defaultConfig {
        ...
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    
        jackOptions {
            enabled false
        }
    }
    

提交回复
热议问题