Error:Execution failed for task ':app:javaPreCompileDebug'. > Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProce…
每次升级Android Studio时,一般情况下Gradle版本的也会相应的升级,我之前Android Studio 3.0.1.Gradle 是4.1升级后为:Android Studio 3.1.0.Gradle 为4.4. 升级完成后先是报一堆错(每次都升级都是-.-) 第一个错如下: The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin. Perhaps you misspelled…
每次升级Android Studio时,一般情况下Gradle版本的也会相应的升级,我之前Android Studio 3.0.1.Gradle 是4.1升级后为:Android Studio 3.1.2.Gradle 为4.4. 升级完成后提示警告信息:Configuration 'compile' is obsolete and has been replaced with 'implementation'. 如下图所示: 在Android Studio3.0开始的时候就将 compile…