内容简介:翻译自:https://stackoverflow.com/questions/32472338/gradles-dependency-cache-may-be-corrupt
我已经尝试过Invalidate / Cache并重新启动
还尝试删除.gradle和gradle文件..
但这个问题仍然存在.
Error:Unable to find method
‘com.android.build.gradle.BaseExtension.getTestVariants()Lorg/gradle/api/internal/DefaultDomainObjectSet;’.
Possible causes for this unexpected error include:
-
Gradle’s
dependency cache may be corrupt (this sometimes occurs after a network
connection timeout.) Re-download dependencies
and sync project (requires network) -
The state of a Gradle
build process (daemon) may be corrupt. Stopping all Gradle daemons may
solve this problem. Stop Gradle build
processes (requires restart) -
Your project may be using a
third-party plugin which is not compatible with the other plugins in
the project or the version of Gradle requested by the
project.
In the case of corrupt Gradle processes, you can
also try closing the IDE and then killing allJava processes.
有什么想法吗?
感谢您的帮助!
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip
翻译自:https://stackoverflow.com/questions/32472338/gradles-dependency-cache-may-be-corrupt
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- Git – 损坏的对象?
- Maven 打包 Excel 文件损坏
- ARM汇编之内存损坏:堆栈溢出
- Oracle 宕机后文件损坏resetlogs后处理
- ORACLE如何检查找出损坏索引(Corrupt Indexes)
- Oracle数据库不同损坏级别的恢复详解
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
大数据时代的算法:机器学习、人工智能及其典型实例
刘凡平 / 电子工业出版社 / 2017-1 / 49
《大数据时代的算法:机器学习、人工智能及其典型实例》介绍在互联网行业中经常涉及的算法,包括排序算法、查找算法、资源分配算法、路径分析算法、相似度分析算法,以及与机器学习相关的算法,包括数据分类算法、聚类算法、预测与估算算法、决策算法、关联规则分析算法及推荐算法。《大数据时代的算法:机器学习、人工智能及其典型实例》涉及的相关算法均为解决实际问题中的主流算法,对于工作和学习都有实际参考意义。 《......一起来看看 《大数据时代的算法:机器学习、人工智能及其典型实例》 这本书的介绍吧!