码迷,mamicode.com
首页 > 移动开发 > 详细

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. Suggestion: disable configuration on demand by setting org

时间:2019-12-11 14:44:08      阅读:134      评论:0      收藏:0      [点我收藏+]

标签:disable   uil   false   code   ima   cos   build   current   ids   

androidStudio打开cocos3.17.2Lua项目时,出现了

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. Suggestion: disable configuration on demand by setting org.gradle.configureondemand=false in your gradle.properties file or use a Gradle version less than 4.6.
Open File                 错误

由于使用你正在使用 Gradle 版本4.6或以上,当前版本的Android的 Gradle 插件不支持按需配置。

建议:通过在你的 gradle.properties 文件中设置 org.gradle.configureondemand=false 禁用按需配置,或者使用一个低于4.6版本的 Gradle。

解决办法

取消掉按需分配

找到 File/Settings/Build, Execution, Deployment 里面的 Compiler,将右面的 Configure on demand 取消勾选。

技术图片

 

 重新编译通过了

 

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. Suggestion: disable configuration on demand by setting org

标签:disable   uil   false   code   ima   cos   build   current   ids   

原文地址:https://www.cnblogs.com/whj0402/p/12022234.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!