编译通不过

来源:5-6 Loading框架集成与完善(AVLoadingIndicatorView)-2

BobZheng

2018-07-25

我更换了

http://img.mukewang.com/szimg/5b582425000143cf28801800.jpg

总是到一步过不去



Unable to find method 'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List;'.

Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)

Re-download dependencies and sync project (requires network)</li><li>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)</li><li>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.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.


写回答

1回答

BobZheng

提问者

2018-07-26

应该butterknife的问题,网络的解决方案不灵:https://www.jianshu.com/p/c736ab33bc53

https://github.com/JakeWharton/butterknife 在新的环境下这个也不行,我的AS版本:  Android Studio 3.1.3

0
0

Android通用框架设计与完整电商App开发

从第一行代码开始教你,通用且一键式配置的框架设计并轻松实现完整电商App

2028 学习 · 1182 问题

查看课程