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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -