作者:燕歆波
导读:android studio项目build时,报出异常
异常:
Configuration on demand is not supported by the current version of the Android Gradle plugin since you are using Gradle version 4.6 or above.
解决方式:
在gradle-wrapper.properties 中,修改 distributionUrl 参数,将其后面修改为低于4.6版本的 Gradle。重新build