引入了aspectJ后,文件提示找不到pointcut类型。修改如下:

.project文件添加内容,红色字体为添加的引用

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ggyx_mobile</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<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>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>

<buildCommand>
<name>org.eclipse.ajdt.core.ajbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.ajdt.ui.ajnature</nature>
</natures>
</projectDescription>

相关文章:

  • 2021-07-27
  • 2021-06-11
  • 2021-11-11
  • 2021-11-26
猜你喜欢
  • 2021-11-27
  • 2021-09-23
  • 2021-05-26
  • 2021-06-23
  • 2021-11-17
相关资源
相似解决方案