libraryVariants.all { variant ->
variant.outputs.each { output ->
def outputFile = output.outputFile
if (outputFile != null && outputFile.name.endsWith('.aar')) {
//def fileName = "apc-${defaultConfig.versionCode}.aar"
def fileName ="apc.aar"
// output.outputFile = new File(outputFile.parent, fileName)
output.outputFile = new File('../../App/app/libs/',fileName)
}
}
}
此错误来了 无法展开ZIP' /home/raminder/Code/App/app/libs/apc.aar'因为它不存在。