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. ueditor上传服务器提示后端配置项没有正常加载,求助!!!!!2. 绝对定位和fied定位,键盘弹起对布局的影响3. angular.js - angularjs 怎么封装 upload 上传4. javascript - vue生成一维码?求助!!!!!急5. python - Pycharm一句代码写完可以自动补全空格么?6. nginx英文文档的WebSocket proxying部分没看太明白,麻烦推荐一点中文文章7. python - 关于matplotlib的x轴显示的问题8. android 文件File删除问题9. angular.js - 怎样在使用ng-repeat属性的标签里面监听单个事件,使其能够单个改变CSS。10. python 计算两个时间相差的分钟数,超过一天时计算不对
