时光之轮
2018-05-24 07:54
采纳率: 100%
浏览 4.7k

Android studio一直报错app:debugAnnotationProcessorClasspath

Error:Could not resolve all files for configuration ':app:debugAnnotationProcessorClasspath'.

Could not find com.jakewharton:butterknife-compiler:5.1.1.
Searched in the following locations:
file:/D:/mySoftware/sdk/extras/m2repository/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.pom
file:/D:/mySoftware/sdk/extras/m2repository/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.jar
file:/D:/mySoftware/sdk/extras/google/m2repository/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.pom
file:/D:/mySoftware/sdk/extras/google/m2repository/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.jar
file:/D:/mySoftware/sdk/extras/android/m2repository/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.pom
file:/D:/mySoftware/sdk/extras/android/m2repository/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.jar
file:/D:/mySoftware/Android/android-studio3.0/gradle/m2repository/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.pom
file:/D:/mySoftware/Android/android-studio3.0/gradle/m2repository/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.jar
https://dl.google.com/dl/android/maven2/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.pom
https://dl.google.com/dl/android/maven2/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.jar
https://jcenter.bintray.com/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.pom
https://jcenter.bintray.com/com/jakewharton/butterknife-compiler/5.1.1/butterknife-compiler-5.1.1.jar
Required by:
project :app

        已经按照步骤改了  可是一直报错   各种办法都试了!

图片说明

图片说明

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

2条回答 默认 最新

  • rjp_cc 2018-05-24 08:18
    最佳回答

    butterknife 用 com.jakewharton:butterknife-compiler:8.4.0 版本试试

    评论
    解决 3 无用
    打赏 举报
查看更多回答(1条)

相关推荐 更多相似问题