Android开发之Android studio 3.2.1配置androidannotations

androidannotations,Butterknife 组件等大大的提高了开发效率,但在配置androidannotations 的时候却出现了问题,根据根据网上的资料配置 annotationProcessor “org.androidannotations:androidannotations: A A V e r s i o n " i m p l e m e n t a t i o n " o r g . a n d r o i d a n n o t a t i o n s : a n d r o i d a n n o t a t i o n s a p i : AAVersion" implementation "org.androidannotations:androidannotations-api: AAVersion”
这里AAVersion 配置的是4.4.0,但运行的时候报错 Compilation failed; see the compiler error output for details,后来进androidannotations的官方(https://github.com/androidannotations/androidannotations/wiki)在右下角看到最新的版本,将AAVersion 改为最新的版本就ok了。

猜你喜欢

转载自blog.csdn.net/weixin_42042620/article/details/83590889