我的构建最近停止了开源gradle/android项目的工作.他们一直工作到今天(2016年10月10日).我在gradle和gradle android插件的多个版本(travis上)运行构建矩阵.从本质上讲,它现在在gradle 3.0和3上失败,两者都使用gradle android 2.2.0插件.使用不同android插件的其他版本都可以.它只是2.2.0插件失败了.
困扰我的部分是错误信息
:hello-world-aar:preBuild UP-TO-DATE
:hello-world-aar:preDebugBuild UP-TO-DATE
:hello-world-aar:checkDebugManifest
:hello-world-aar:preDebugAndroidTestBuild UP-TO-DATE
:hello-world-aar:preDebugUnitTestBuild UP-TO-DATE
:hello-world-aar:preReleaseBuild UP-TO-DATE
:hello-world-aar:preReleaseUnitTestBuild UP-TO-DATE
:hello-world-aar:prepareOrgOsmdroidOsmdroidAndroid541ReleaseLibrary
:hello-world-aar:prepareDebugDependencies
:hello-world-aar:compileDebugAidl
:hello-world-aar:compileDebugNdk UP-TO-DATE
:hello-world-aar:compileLint
:hello-world-aar:copyDebugLint SKIPPED
:hello-world-aar:compileDebugRenderscript
:hello-world-aar:generateDebugBuildConfig
:hello-world-aar:generateDebugResValues
:hello-world-aar:generateDebugResources
:hello-world-aar:mergeDebugResources
:hello-world-aar:processDebugManifest
:hello-world-aar:processDebugResources
:hello-world-aar:generateDebugSources
:hello-world-aar:incrementalDebugJavaCompilationSafeguard
:hello-world-aar:compileDebugJavaWithJavac
:hello-world-aar:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:hello-world-aar:extractDebugAnnotations FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':hello-world-aar:extractDebugAnnotations'.
> com/intellij/psi/PsiJavaFile
Run Code Online (Sandbox Code Playgroud)
这又是一个Android Archive(AAR)项目.我已经搜索过,在课堂上找不到多少.它没有在我的代码中的任何地方引用.我最好的猜测是谷歌改变了一个支持库或某些破坏了某些东西的东西.我也是通过travis从命令行构建的.我不知道intellij的东西来自哪里.
android gradle build.gradle android-gradle-plugin gradle-plugin