我的项目工作正常,但是当我从终端尝试.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)
答案 0 :(得分:0)
降级gradle是解决方案,但是通常sudo ./gradle可以正常工作