降级gradle

背景:不小心升级了AS的gradle导致cordova的android项目报错,第一步build都不通过

WARNING: Configuration’compile’is obsolete and has been replaced with’implementation’.It will be removed at the end of 2018

解决方法:

gradle降级

1.打开project structure

0
2.gradle plugin 和 gradle的版本对应

作者:夜是诗人
链接:https://www.jianshu.com/p/12ab33e8b8bb
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

你可能感兴趣的:(降级gradle)