android studio更新3.0后,Annotation processors must be explicitly declared now.

android studio更新3.0后,Annotation processors must be explicitly declared now.

需要修改module目录下的build.gradle中的

android {

...

defaultConfig {

...

javaCompileOptions {

annotationProcessorOptions {

includeCompileClasspathtrue

        }

    }

}

}

你可能感兴趣的:(android studio更新3.0后,Annotation processors must be explicitly declared now.)