很多引用 butterknife 出现如下 WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'. It will be removed at the end of 2019.For more information, see https://
as最近更新了3.4,根据使用as这些年的经验,每次更新除了新功能,总附带些莫名其妙的问题。所以看到升级弹窗,我是拒绝的。 但谷歌总能把新功能写的exciting,于是手抖点了update。接着下载、更新、 构建、一气呵---------那个warning是什么鬼: ‘API 'variantOutput.getPackageApplicati
原代码: applicationVariants.all { //判断是release还是debug版本 def buildType = it.buildType.name def fileName //下面的channel是获取渠道号,每个人定义的渠道号可能不一样。具体可以用println it.productFlavors[0]