Android Gradle CompilationFailedException after Android Studio Update
I solved this with the suggestion from @CommonsWare to go in the Build view's second toolbar button down from the top which toggles between the tree view and the raw Gradle console output. The error showed that this was caused by using a deprecated view, ArticleListAdapter. Removing this fixed the error.
The other warning was fixed by changing compile
to implementation
in the App level build.gradle.
Thanks for Paradox his answer helped me.
in the last version of Android Studio, the icon has been changed
TL;DR: Run with scan.
I faced this same issue a few minutes ago. In addition to @Momen's wonderful answer [Image posted below]. I made an extra observation.
When I clicked on the icon as shown in the image above, I still could not figure out the exact problem as the logs were barely comprehensive. However, beneath the huge pile of logs, there was an option to run with scan.
Clicking on run with scan eventually highlighted the exact compilation error.
I really hope this helps someone out there. Merry coding!