com.android.support 报错,apt不支持,butterknife构建不通过

com.android.support:design:26.0.0 这个包一直加载不上,编译不通过

  • 加入maven仓库的地址or google
    repositories {
        maven { url "https://jitpack.io" }//这个根据项目需求添加
        maven { url "https://maven.google.com" }
    }
}

Android studio 3.0 不支持 apt

  • 改成
annotationProcessor  'com.google.dagger:dagger-compiler:2.6'

butterknife 构建不通过

 defaultConfig {
        applicationId "com.xajd.takeout"
       ...
        javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } }
    }

猜你喜欢

转载自blog.csdn.net/hukou6335490/article/details/83151139
今日推荐