Error:Unable to find method 'com.android.build.gradle.internal.variant.BaseVariantData.getOutputs()Ljava/util/List;'. 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 all Java processes.

原因就是项目gradle里面加了这个:

classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1'
 去掉这个就好了

更多相关文章

  1. android View.GONE 失效原因
  2. Android应用程序如何避免内存泄漏以及如何检查泄漏原因
  3. 【quickhybrid】Android端的项目实现
  4. 万树IT:你的Android不好用的原因就是这些!
  5. 安卓Android开发视频教程大全50GB/安卓基础+进阶+高级+项目+源码
  6. Android练习项目 Mp3播放器实现(一)

随机推荐

  1. 更换工程的sdk或者google apis
  2. Android debug summary
  3. Android GLSurfaceView在屏幕旋转后绘图
  4. Android 跳转到应用设置详情界面
  5. android 华为Mate 10 spinner 点击区域bu
  6. 【android】AudioManager音量控制
  7. Android 检测网络是否可用
  8. Android(安卓)Studio Fragment问题与解决
  9. android 显示 网络图片
  10. Android Ftp 简单上传下载