cocos2d-build.gradle: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.

问题:升级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 {

 

cocos2d-build.gradle: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.

上一篇:MongoDB数据库备份恢复与导入导出


下一篇:plsql语法_存储过程_5.8