# Switching AspectJ Plugins in Android

DevFeed: [Switching AspectJ Plugins in Android](<https://devfeed.tech/articles/switching-aspectj-plugins-in-android-27437.md>)

Original publisher: [Read original article](<https://jdvp.me/articles/Switching-AspectJ-Plugins-Android>)

Author: JD Porterfield (jd.porterfield@alumni.rice.edu)

Published: 2021-01-18T00:00:00Z

Content type: article

Language: en

Sources: [JD Porterfield | Articles](<https://devfeed.tech/sources/jd-porterfield-articles.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Android Gradle Plugin](<https://devfeed.tech/topics/android-gradle-plugin.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-gradle-plugin](<https://devfeed.tech/tags/android-gradle-plugin.md>), [aspect-oriented-programming](<https://devfeed.tech/tags/aspect-oriented-programming.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [maintainers](<https://devfeed.tech/tags/maintainers.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [plugins](<https://devfeed.tech/tags/plugins.md>), [switching](<https://devfeed.tech/tags/switching.md>)

## AI overview

This article explains why the author replaced the android-gradle-aspectj plugin while updating an Android sample project. Frequent breakage across Android Gradle Plugin releases and recurring regressions made the plugin difficult to maintain. The author evaluates alternative AspectJ plugins and focuses on compatibility through the shared aspectjrt library.

## Source excerpt

The previous AOP Plugins I have used in Android have had various issues with maintainability. Discover why I switched and which plugin I switched to