作者:燕歆波
導讀: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