Just starting my way with Roboguice for android. Tried implementing this simple context injection but getting this exception. I googled it and ran into quite a few posts but non
thank you, it appears I was working with Guice 3, which is not supported by Roboguice 1.1.2. I removed Guice 3 and put Guice 2.0-no_aop and this solved my issue. Thanks again!
Make sure to have
and it should work.
Download javax.inject-1.jar and add it to your build path.
See here.
Also, make sure you are using Guice without AOP.