Ich habe ein Projekt Formular Eclipse zu Android Studio importieren, treffe ich dieses Problem , Android Studio 2.2.2, grandle 2.2.2.Gradle 2.2.2, Android-Studio, keine Signatur der Methode: java.lang.Boolean.call() ist für Argumenttypen anwendbar:
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)
Projekt gradle Datei:
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "25.0.2"
enforceUniquePackageName = false
aaptOptions{
cruncherEnabled = false
useNewCruncher = false
}
defaultConfig {
applicationId "com.zl.activity"
minSdkVersion 14
targetSdkVersion 14
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile project(':someLib')
compile files('libs/Authentication_agent32.jar')
}
Sieht aus wie ein Fehler in Ihrem Skript. Sie zeigen Ihr Gradle-Skript nicht an, daher gibt es keine Möglichkeit zu erraten, wo –
@tim_yates Hier ist die Gradle-Datei –