aspectj for Android studio - where is AJDT plugin

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 15:57:10

Android Studio is an Android-aware version of IntelliJ. IntelliJ has no tooling support for AspectJ. There are two solutions that I can think of:

  1. Use Eclipse and ADT, but you probably don't want to do that.
  2. Use Annotation Style AspectJ and let Android Studio treat the aspect code as Java code. You won't get any cross-references, navigation, or content assist, but the IDE will not complain of compile errors.

EDIT: There is an IntelliJ plugin for AspectJ.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!