Android studio warning - InnerClass annotations are missing corresponding EnclosingMember annotations

后端 未结 2 1671
半阙折子戏
半阙折子戏 2020-12-25 11:51

I recently upgraded to Android Studio 3.1 and upon building my Kotlin with Java project I got the following warning.

InnerClass annotations are missing c

2条回答
  •  被撕碎了的回忆
    2020-12-25 12:31

    To fix the issue temporarily, I am adding this:

    buildTypes {
        release {
            lintOptions {
                checkReleaseBuilds false
                abortOnError false
            }
        }
    }
    

    Will update if I find a permanent fix. This page for configuring JUnit 5 may also help

提交回复
热议问题