Open andasl opened 5 years ago
我也是一直出现这个问题, 新建的工程只要引入就报这个错误。。
解决了吗?我也是报这个错误
+1
我也出现这个问题了 并且用gradle compileDebug --stacktrace也没发现什么有用的信息
我的问题是aop类里面写的有问题
问题和原因同楼上. 我也出现了这个问题. 检查修改aop语法问题后, 问题消失. 有点坑啊...
我看有的是把 exclude 'com.google' 加上,加上之后我的realm会出现 ClassNotDefFound
同样时aop引起的,坑
这个问题太难搞了,最后没办法只能使用 include 指定自己需要切入的类了
同样的问题,找了半天才找到是这个库造成的,不知道怎么解决
同样的问题,找了半天才找到是这个库造成的,不知道怎么解决
使用 include 指定自己需要切入的类,我暂时是这样解决的
@Klien-m 能贴个具体代码吗或者加个联系方式指导下
@Klien-m 能贴个具体代码吗或者加个联系方式指导下
我项目中的 aop 主要用来解决权限申请问题,所以切入的范围就是我项目包下的代码.
假设项目包名是 com.example.aspectdemo
,那就在 build.gradle 文件中加上
android {
aspectjx {
include 'com.example.aspectdemo'
}
}
如果这样也解决不了你的问题,那我就爱莫能助了
Cause: zip file is empty
@AfterReturning(returning="rvt", pointcut="@annotatio