我的项目运行正常,但是当我尝试从终端构建.gradlew时,由于出现此错误而失败。我不确定说实话,对此有什么帮助吗?

Unexpected failure during lint analysis of DatabaseHandler.java (this
is a bug in lint or one of the libraries it depends on) TypeSystem.getUnannotatedType(TypeSystem.java:180)
->TypeSystem.getParameterizedType(TypeSystem.java:238)
->TypeSystem.getParameterizedType(TypeSystem.java:261)
->LookupEnvironment.createParameterizedType(LookupEnvironment.java:949)


Unexpected failure during lint analysis of DatabaseHandler.java (this is a bug in lint or one of the libraries it depends on) TypeSystem.getUnannotatedType(TypeSystem.java:180)
    ->TypeSystem.getParameterizedType(TypeSystem.java:238)
    ->TypeSystem.getParameterizedType(TypeSystem.java:261)
    ->LookupEnvironment.createParameterizedType(LookupEnvironment.java:949)

最佳答案

解决方案gradle降级是解决方案,但通常sudo ./gradle可以正常工作

10-06 06:33