Unfortunately Dalvik does not permit class runtime generation (hence noaop) so you may not be able to use the assistedinject until it does =(
Dhanji. On Wed, Jul 14, 2010 at 8:53 PM, Laxs <[email protected]> wrote: > Hi all, > > I want to use the Assistedinject Extension on my Android Project. > > I actually add assistedinject.jar as a Referenced libary, > When I use @Assistedinject to pass a Context-object to my > Implementation I got following Exception: > > Uncaught handler: thread main exiting due to uncaught exception > com.google.inject.CreationException: Guice creation errors: > ... > Caused by: java.lang.IllegalArgumentException: > .... > > When I use @Inject everything works fine. > I added the guice-2.0-no_aop.jar also as a Referenced libary. > > But I have to use @Assistedinject for having a parameterized > Constructor Injection to pass the context-object to my Implementation > > Hope you can help me with my problem > > Thanks in advance > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-guice%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
