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

是否把apt换成annotationProcessor #16

Open
SmallDream opened this issue Jan 11, 2017 · 2 comments
Open

是否把apt换成annotationProcessor #16

SmallDream opened this issue Jan 11, 2017 · 2 comments

Comments

@SmallDream
Copy link

SmallDream commented Jan 11, 2017

android studio 升级到2.3beta2 后,本来编译正常的项目,由于使用apt, 一直提示不兼容之类的警告,然后编译通不过,各种奇怪问题。
后来我将gradle plugin使用旧版(2.2.3,无法使用instant run)不存在问题。
当然不排除是android studio 新版本身的一些问题。作者有时间的话可以关注下

@beautifulSoup
Copy link
Collaborator

我现在使用的2.2.0 ,没事问题,建议不要使用beta版本。 今天晚上我会升级一下。

@SmallDream
Copy link
Author

SmallDream commented Jan 11, 2017

网上我也查过一番,貌似是gradle 2.3.0+(2.3.0alpha1, alpha2, beta2)的版本和我使用的databinding存在冲突.https://code.google.com/p/android/issues/detail?id=227612 里面也提到过apt.

PS:不过apt在gradle 2.2 插件之后据说就不提供维护了 http://www.jianshu.com/p/2ff62e32da55 作者也可以考虑替换apt.

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