android10 / Android-CleanArchitecture

This is a sample app that is part of a series of blog posts I have written about how to architect an android application using Uncle Bob's clean architecture approach.
Apache License 2.0
15.52k stars 3.32k forks source link

android-apt plugin is not compatible with Android Gradle #294

Closed shayan4shayan closed 4 years ago

shayan4shayan commented 5 years ago

There is a issue when running ./geadlew clean build

android-apt plugin is incompatible with the Android Gradle plugin.  Please use 'annotationProcessor' configuration instead.

I'm using Android studio 3.5 beta and gradle v5.4.1.

Arcyno commented 4 years ago

Same problem for me

JenniferJohnson89 commented 4 years ago

I noticed that there is a similar problem at https://github.com/DigitalCampus/oppia-mobile-android. Perhaps we can refer to https://github.com/DigitalCampus/oppia-mobile-android/issues/643 to find more context about the bug (e.g. the Android Gradle Plugin version). Or maybe this can help us find the cause of the bug (android-apt plugin is no longer needed since android gradle plugin 3.0.0) and fix it. After referring to that issue, I tried building using Android Gradle Plugin 2.2.2 and Gradle version 3.2.1, i.e., the original version listed in the project's build.gradle file and gradle-wrapper.properties file. The project builds successfully.

shayan4shayan commented 4 years ago

This error happened a long time ago and I don't remember in which project has happened. so I think we can close this issue since android-opt is not needed from gradle version 3.0.0.