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. docker gitlab 如何git clone?2. angular.js使用$resource服务把数据存入mongodb的问题。3. 关于docker下的nginx压力测试4. docker镜像push报错5. 关于Android权限的获取问题,大家遇到过这样的情况嘛?6. 刷新页面出现弹框7. angular.js - angularJs ngRoute怎么在路由传递空字符串及用ng-switch取得8. mysql - 用PHPEXCEL将excel文件导入数据库数据5000+条,本地数据库正常,线上只导入15条,没有报错,哪里的问题?9. android - 项目时间长了,字符串文件strings有的字符串可能是多余的,有没有办法快速检测那些是没用的?10. docker不显示端口映射呢?
