‘annotationProcessor‘ dependencies won‘t be recognized as kapt annotation processors. Please change

‘annotationProcessor’ dependencies won’t be recognized as kapt annotation processors. Please change the configuration name to ‘kapt’ for these artifacts: ‘com.airbnb:deeplinkdispatch-processor:4.1.0’.

简而言之,需要把annotationProcessor切换为kapt就可以了。

切换前:

    api 'com.github.bumptech.glide:glide:4.9.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'

切换后:

    api 'com.github.bumptech.glide:glide:4.9.0'
    kapt 'com.github.bumptech.glide:compiler:4.9.0'

你可能感兴趣的:(Android,疑难杂症,annotationProc,kapt,android)