./gradlew构建因TypeSystem.getUnannotatedType失败

时间:2015-09-11 12:30:48

标签: android gradle android-gradle

我的项目工作正常,但是当我从终端尝试.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)

1 个答案:

答案 0 :(得分:0)

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