Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Databind error #18

Closed
zzxzzg opened this issue Oct 26, 2016 · 4 comments
Closed

Databind error #18

zzxzzg opened this issue Oct 26, 2016 · 4 comments

Comments

@zzxzzg
Copy link

zzxzzg commented Oct 26, 2016

Error:Execution failed for task ':aspectjx-demo:transformClassesWithAspectTransformForDebug'.

can't determine superclass of missing type android.support.v7.widget.CardView
when weaving type android.databinding.adapters.CardViewBindingAdapter
when weaving classes
when weaving
when batch building BuildConfig[null] #Files=0 AopXmls=#0
[Xlint:cantFindType]

@zzxzzg
Copy link
Author

zzxzzg commented Oct 26, 2016

aspectjx {
//织入遍历符合条件的库
//includeJarFilter 'universal-image-loader', 'AspectJX-Demo/library'
//排除包含‘universal-image-loader’的库
excludeJarFilter 'databinding'
}

发现添加以上过滤可以解决错误 0.0

@firefly1126
Copy link
Contributor

很好,自己解决问题。后面aspectjx会默认忽略这类意义不大的编译警告和错误,这样就不需要配置过滤参数了

@zzxzzg
Copy link
Author

zzxzzg commented Oct 27, 2016

instant run 什么时候能兼容 ? 这是现在阻止我将aspectjx用在项目中的最大阻碍

@firefly1126
Copy link
Contributor

正在解决,后续版本会加上

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants