Android Build.gradle:评估项目时出现问题';:app&x27;
帮助:(!我有个问题 没有方法的签名:build1wnbu4w853kkkkiptj1syh84k。android()适用于参数类型:(build1wnbu4w853kkkkiptj1syh84k$运行\u closure1)值:[build1wnbu4w853kkkkkiptj1syh84k$运行_closure1@30e7bec0]Android Build.gradle:评估项目时出现问题';:app&x27;,android,android-studio,build,build.gradle,interface-builder,Android,Android Studio,Build,Build.gradle,Interface Builder,帮助:(!我有个问题 没有方法的签名:build1wnbu4w853kkkkiptj1syh84k。android()适用于参数类型:(build1wnbu4w853kkkkiptj1syh84k$运行\u closure1)值:[build1wnbu4w853kkkkkiptj1syh84k$运行_closure1@30e7bec0] apply plugin: 'com.android.application' android { useLibrary 'org.apache.ht
apply plugin: 'com.android.application'
android {
useLibrary 'org.apache.http.legacy'
compileSdkVersion 26
defaultConfig {
applicationId "com.ulf.gostyle.qrcodescanner"
minSdkVersion 23
targetSdkVersion 26
versionCode 1
versionmama "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
buildToolsVersion '29.0.3'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
compile 'com.journeyapps:zxing-android-embedded:3.4.0'
}
“versionmama”不应该是“versionName”。它可能会失败,因为它无法识别这一点。只是一个输入错误:versionmampo错误:versionmama