The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0(Task.leftShift(Closure) 方法已被弃用,并计划在 Gradle 5.0 中删除)
问题描述
Task.leftShift(Closure)
方法已被弃用,并计划在 Gradle 5.0 中移除.请改用 Task.doLast(Action)
The Task.leftShift(Closure)
method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action)
instead
我在尝试构建 android 或运行时收到此错误.使用cordova-android 6.4.0离子-cli - 4.3.1节点 - 8.11.1科尔多瓦 - 8.0.0毕业 - 4.6
I am getting this error when trying to build android or run. Using cordova-android 6.4.0 ionic-cli - 4.3.1 node - 8.11.1 cordova - 8.0.0 gradle - 4.6
我已经尝试将 cordova-android 降级到 6.3.0 、 6.2.3将 cordova-android 升级到 7.0.0、7.1.1但是在更改cordova-android版本时其他事情失败了删除所有内容并从克隆和安装节点模块开始
I have tried downgrading cordova-android to 6.3.0 , 6.2.3 Upgrading cordova-android to 7.0.0, 7.1.1 But other things fails on changing cordova-android version Removed everything and started from cloning and installing node modules
推荐答案
对于在构建失败时遇到此问题的任何人.这是一个警告,而不是构建失败的原因.就我而言,它没有给出任何错误所以我认为这是错误.
For anyone getting this while build fail. This is a warning and not the cause of build failure. In my case it wasn't giving any error So I assumed that this is the error.
这篇关于Task.leftShift(Closure) 方法已被弃用,并计划在 Gradle 5.0 中删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Task.leftShift(Closure) 方法已被弃用,并计划在 Gradle 5.0 中删除
基础教程推荐
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01