android - No signature of method: java.lang.Boolean.call()
问题描述
项目从 eclipse 导入 android studio中出现这个问题, AS2.2.2, gradle 2.2.2
Error:(6, 1) A problem occurred evaluating project ’:projectName’.
No signature of method: java.lang.Boolean.call() is applicable for argument types: (null) values: [null]
Possible solutions: wError:(6, 1) A problem occurred evaluating project ’:projectName’.
No signature of method: java.lang.Boolean.call() is applicable for argument types: (null) values: [null]
Possible solutions: wait(), any(), wait(long), any(groovy.lang.Closure), each(groovy.lang.Closure), and(java.lang.Boolean)ait(), any(), wait(long), any(groovy.lang.Closure), each(groovy.lang.Closure), and(java.lang.Boolean)
project 的 gradle 脚本
apply plugin: ’com.android.library’android { compileSdkVersion 19 buildToolsVersion '25.0.2' enforceUniquePackageName = false aaptOptions{cruncherEnabled = falseuseNewCruncher = false } defaultConfig {minSdkVersion 14targetSdkVersion 21 } buildTypes {release { minifyEnabled false proguardFiles getDefaultProguardFile(’proguard-android.txt’), ’proguard-rules.txt’} }}dependencies { compile project(’:someLib’) compile files(’libs/Authentication_agent32.jar’)}
问题解答
回答1:暂时解决了,是 .9 图片引发的问题 ,修改掉所有 .9 图片编译成功,但感觉不是问题的根本原因
相关文章:
1. javascript - 求助这种功能有什么好点的插件?2. python3.x - python多线程如何修改数据?3. java - spring MVC框架Controller层中应该使用StringBuffer还是StringBuilder?4. mysql连表排序5. css3中的 :hover只能应用于a标签不能用于其它标签吗(比如div或li之类的标签)6. java - 接口中的成员变量怎么不是常量了?7. 使用 CSS3 的 Media Query 浏览器会加载其他不同分辨率的 css 文件么8. angular.js - angular-ueditor使用中,插入图片,加载完成后不更新angularmodel的问题;9. node.js - 我是一个做前端的,求教如何学习vue,node等js引擎?10. java enum 变量不能再case里面重复定义?

网公网安备