我有一个来自GitHub的Android Studio项目,现在我在settings.gradle文件中得到它:
ERROR: Cannot get property 'application' on null object
if (gradle.ext['config'].settings.application.enable_barcode_scanner) {
println 'With barcode'
include ':app', ':barcodereader'
} else {
println 'Without barcode'
include ':app'
}