gradle - Android annotations with Android studio 2.0 beta -
trying build project new android studio 2.0 beta, uses gradle 2.1 , new gradle 2.0.0 beta plugin.
i can see annotated classed generated fine, getting "cannot find symbol" error compiler , project not compile.
it seems new gradle plugin maybe cannot see generated classes or similar.
any idea?
so after giving on new gradle plugin, found answer!
it seems problem use new instant run feature introduced in android studio 2.0, doing replacing application class new instrumented class, , aa 3 having problems that.
the solution use new (pre-released) aa 4, , change small configurations.
it explained in details in wiki: https://github.com/excilys/androidannotations/issues/1639#issuecomment-165477743
Comments
Post a Comment