After upgrading to Android Studio 3.0, I had problems with gradle so that I was able to fix the check for the developers website
However, I could not find how to fix the problem with apply plugin: 'android-apt' . I tried several things, such as removing it from the gradle project and adding it to the gradle application as annotationProcessor 'com.neenbedankt.gradle.plugins:android-apt:1.8' . also removed apt, etc. etc.
In any case, Studio complains about it. Any help is appreciated. Thanks!
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.0.0' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' classpath 'com.google.gms:google-services:3.1.1' } } allprojects { repositories { jcenter() google() maven { url "https://jitpack.io" } } ext { supportLibVersion = '27.0.0' firebaseLibVersion = '11.4.2' } } task clean(type: Delete) { delete rootProject.buildDir }
APP GRADLE
apply plugin: 'com.android.application' android { compileSdkVersion 27 buildToolsVersion "27.0.0" defaultConfig { applicationId "xxxxxxxxxxxxxxxxxxxx" minSdkVersion 17 targetSdkVersion 27 versionCode 1 versionName "1.0" vectorDrawables.useSupportLibrary = true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } apply plugin: 'android-apt' } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile "com.android.support:appcompat-v7:${supportLibVersion}" ..... compile 'com.google.android.gms:play-services-auth:11.4.2' compile 'com.jakewharton:butterknife:8.4.0' apt 'com.jakewharton:butterknife-compiler:8.4.0' } apply plugin: 'com.google.gms.google-services'
source share