android.applicationVariants.all { variant ->
variant.outputs.each { output ->
output.outputFile = new File(output.outputFile.parent, "包名" + defaultConfig.versionName + ".apk");
}
}
android.applicationVariants.all { variant ->
variant.outputs.each { output ->
output.outputFile = new File(output.outputFile.parent, "包名" + defaultConfig.versionName + ".apk");
}
}
本文标题:Android 打包自定义名称
本文链接:https://www.haomeiwen.com/subject/vqlzuftx.html
网友评论