问题:升级AndroidStudio2.x To 3.x时,
Sync时警告:build.gradle: API ‘variant.getMergeAssets()‘ is obsolete and has been replaced with ‘variant.getMergeAssetsProvider()‘.
解决:
改变
variant.mergeAssets.doLast { 为: variant.mergeAssetsProvider.get().doLast {
2022-01-21 12:24:58
问题:升级AndroidStudio2.x To 3.x时,
Sync时警告:build.gradle: API ‘variant.getMergeAssets()‘ is obsolete and has been replaced with ‘variant.getMergeAssetsProvider()‘.
解决:
改变
variant.mergeAssets.doLast { 为: variant.mergeAssetsProvider.get().doLast {