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 for Mac 創建的dnsmasq容器連不上/不工作的問題2. 關于docker下的nginx壓力測試3. docker - 如何修改運行中容器的配置4. angular.js - angularjs的自定義過濾器如何給文字加顏色?5. docker鏡像push報錯6. 關docker hub上有些鏡像的tag被標記““This image has vulnerabilities””7. java - 如何點擊按鈕,重新運行(我是初學者)?8. 前端 - @media query 使用出現的問題?9. html5和Flash對抗是什么情況?10. html - css氣泡,實現“倒三角(不知道算不算三角了)”可透明的。

網公網安備