android - No signature of method: java.lang.Boolean.call()
問題描述
項(xiàng)目從 eclipse 導(dǎo)入 android studio中出現(xiàn)這個(gè)問題, 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:暫時(shí)解決了,是 .9 圖片引發(fā)的問題 ,修改掉所有 .9 圖片編譯成功,但感覺不是問題的根本原因
相關(guān)文章:
1. docker內(nèi)創(chuàng)建jenkins訪問另一個(gè)容器下的服務(wù)器問題2. 如何解決Centos下Docker服務(wù)啟動(dòng)無響應(yīng),且輸入docker命令無響應(yīng)?3. 我在centos容器里安裝docker,也就是在容器里安裝容器,報(bào)錯(cuò)了?4. css3 - 學(xué)習(xí)css構(gòu)建圖形時(shí),遇到一個(gè)很有意思的現(xiàn)象,具體代碼如下5. 極光推送 - Android app消息推送 百度 極光 個(gè)推 信鴿哪個(gè)好一些?6. javascript - js閉包作用域7. html5 - 百度echart官網(wǎng)下載的地圖json數(shù)據(jù)亂碼8. html - css 使用字體的時(shí)候,格式有什么特殊要求嗎?9. 微信開放平臺(tái) - android 微信支付后點(diǎn)完成按鈕,后回調(diào)打開第三方頁面,屏幕閃動(dòng),求解決方法10. javascript - echart+百度地圖
