安装java警告_工程配置Java 8 编译的时候会有警告

@zhi1ong 这里有一个测试项目,https://github.com/passos/ARouterTest,用的是项目首页里面提到的最新版本 api 1.5.0 和 compilter 1.2.2。

api 'com.alibaba:arouter-api:1.5.0'

annotationProcessor 'com.alibaba:arouter-compiler:1.2.2'

编译结果

./gradlew asDebug

Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

> Task :app:compileDebugJavaWithJavac

Gradle may disable incremental compilation as the following annotation processors are not incremental: jetified-arouter-compiler-1.2.2.jar (com.alibaba:arouter-compiler:1.2.2), auto-service-1.0-rc2.jar (com.google.auto.service:auto-service:1.0-rc2).

Consider setting the experimental feature flag android.enableSeparateAnnotationProcessing=true in the gradle.properties file to run annotation processing in a separate task and make compilation incremental.

注: ARouter::Compiler >>> A


版权声明:本文为weixin_42529148原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。