【发布时间】:2019-05-31 00:59:02
【问题描述】:
我正在做 ./gradlew :app:lintVitalRelease 并得到:
Execution failed for task ':app:lintVitalRelease'.
> Lint infrastructure error
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.lang.StackOverflowError
at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:159)
.... (the above line is repeating tons of times)
AGP 3.5.0-beta02 和 3.5.0-beta03 都在 gradle 5.4.1 中提供了这个。这是一个已知问题/是否有解决方法?
(这个 StackOverflowError 似乎很适合 stackoverflow.com)
【问题讨论】:
-
“gradlew lintVitalRelease --debug”的输出是什么?
-
我无法从此日志中找出构建失败的原因。同时,我会继续关注此事,如果我得到任何信息,我会分享。
标签: android gradle android-gradle-plugin