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

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 版本试试

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?