tôi nhận được lỗi sau sau khi tôi cố gắng xây dựng dự án của tôi:Android Studio 3.0 annotationProcessor
Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProcessor' configuration instead.
Tôi cố gắng thêm annotationProcessor '.....'
sau mỗi implementation
nhưng không thành công để thoát khỏi lỗi.
Điều này xảy ra sau khi nâng cấp Android studio lên phiên bản mới nhất (3.0).
Edit:
Thêm includeCompileClasspath true
bên defaultConfig
không giúp:
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath true
}
}
Bất kỳ giải pháp?
Bạn đã tìm thấy giải pháp chưa? –
Có, Đã xảy ra vì cõi, tôi đã cập nhật thư viện lĩnh vực lên phiên bản mới nhất vì một số phiên bản cũ đã sử dụng plugin adt. –
cảm ơn bạn rất nhiều! –