无法编译:android-apt插件与Android Gradle插件不兼容。请改用“ annotationProcessor”配置

时间:2019-02-14 17:16:55

标签: java android

我在编译时遇到以下错误。我从Google搜索中找不到可行的解决方案。如果有人可以帮助我解决问题,我将不胜感激。


ERROR: android-apt plugin is incompatible with the Android Gradle plugin.  
Please use 'annotationProcessor' configuration instead.
Affected Modules: app
ERROR: Failed to parse XML in /Users/SPEED/Documents/Projects/Move/V2/MoveIt/Android Source Code/pick_Pasengger/app/src/main/AndroidManifest.xml
ParseError at [row,col]:[201,13]
Message: expected start or end tag
Affected Modules: app

我已将所有com.android.support:更新为相同的版本27.1.1

enter code here 
implementation 'com.github.bumptech.glide:volley-integration:1.4.0'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:mediarouter-v7:27.1.1'
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.android.support:multidex:1.0.3'



    classpath 'com.android.tools.build:gradle:3.3.1'
    classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
    classpath 'com.google.gms:google-services:4.2.0'
    classpath 'io.realm:realm-gradle-plugin:4.1.1'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files

0 个答案:

没有答案