Android AOP 之AspectJ(二)
来源:互联网 发布:剑灵飞月捏脸数据 编辑:程序博客网 时间:2024/06/06 05:36
环境搭建:
一:Eclipse.
- 最新idea下载链接网址:
- Eclipse-AJDT插件安装:
- 内容区域如下:Development builds for Eclipse 4.4
- AJDT 2.2.4 dev builds for Eclipse 4.4
Update Site URL: http://download.eclipse.org/tools/ajdt/44/dev/update
Zip file: See belowTo install from a zip file, download the zip and point your p2 installer to that file. Then proceed as if it were a normal update site. Do not unzip the update site into the dropins directory. - 从eclipse官网下载软件之后。我们开始搭建Android-AOP aspectJ环境。
- 需要下载eclipse,和eclipse的ajdt插件,eclipse官网有具体版本说明。
- 安装eclipse对jdk版本要求:
Installing Eclipse is relatively easy, but does involve a few steps and software from at least two different sources. Eclipse is a Java-based application and, as such, requires a Java runtime environment (JRE) in order to run.
Eclipse 4.6 (Neon)
Eclipse 4.6 (Neon)is scheduled for release on June 22, 2016.
Consider using the Installer. Please see 6 Steps to Install Eclipse.
A Java 8 JRE/JDK is required to run all Neon packages based on Eclipse 4.6. The reasoning behind requiring Java 8 are discussed here.
Eclipse 4.5 (Mars)
Eclipse 4.5 (Mars) was released on June 24, 2015.
Consider using the new Installer! Please see 6 Steps to Install Eclipse.
A Java 7 JRE/JDK is required for all Mars package downloads based on Eclipse 4.5. Information concerning tested configurations for Eclipse 4.5 is providedhere.
Eclipse 4.4 (Luna)
Eclipse 4.4 (Luna) was released on June 25, 2014.
A Java 7 JRE/JDK is required for most of the Luna package downloads based on Eclipse 4.4. Information concerning tested configurations for Eclipse 4.4 is provided here.
Eclipse 4.3 (Kepler)
Eclipse 4.3 (Kepler) was released in June 2013.
A Java 6 JRE/JDK is recommended for Eclipse 4.3. More information concerning tested configurations for Eclipse 4.3 is provided here.
android插件配置: 点击eclipse ->help->(install new software) --> 弹出面板add 按钮。 name: andorid xxx url:http://dl-ssl.google.com/android/eclipse/
环境配置:
1.下载一个aspectjweaver-1.8.3.java <@== 包括@Aspect,@Pointcut 等注解,下载完成需要添加到lib中
<buildCommand>
<name>org.eclipse.ajdt.core.ajbuilder</name> //将javaBuilder修改为这个。
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.ajdt.ui.ajnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
二:Android-Studio
- Android AOP 之AspectJ(二)
- Android AOP 之AspectJ(一)
- zz 基于@AspectJ配置Spring AOP(之二)
- AOP 之 AspectJ 全面剖析 in Android
- Spring AOP学习(二)--AspectJ
- Spring AOP(二)(Spring中基于AOP的@AspectJ)
- Java AOP 之 AspectJ
- Java AOP 之 AspectJ
- Spring AOP之AspectJ
- AOP之Aspectj案例
- Spring AOP之AspectJ
- AOP之AspectJ
- Aop之AspectJ
- AOP笔记之AspectJ
- AOP(AspectJ、Spring AOP)
- Android 基于AOP监控之——AspectJ使用指南
- Android中AOP实践之三AspectJ解析篇
- Android 基于AOP监控之——AspectJ使用指南
- HTTP Status 405 - HTTP method POST/GET is not supported by this URLyi
- 观察者设计模式
- Nginx1.11+Redis3+Tomcat7服务器搭建
- 数字版PageBar
- 最短路Dijkstra算法
- Android AOP 之AspectJ(二)
- ihihihihihihi
- K小数查询 分块模板
- 子线程更新UI方式
- Error:java: Compilation failed: internal java compiler error
- SQL中Group By的使用
- Web 前端本地化(四)
- SVN各种异常统一处理方案
- jQuery判断浏览器