I see on Guice’s download page a module called guice-no-aop, whose intention is clearly marketing towards Android developers. Several online searches pulled back libraries like RoboGuice that look like they do similar AOP-based IoC, and several articles even give great code examples.
But my question is: Why won’t Guice run on an Android app without these special libraries? I was expecting to find something on Guice’s site/wiki, but to my surprise, couldn’t find a single reason.
Anybody know?
Edit
Ancillary to this question is a broader one:
- What other Java frameworks won’t run on Androids?!?! (What’s the rule of thumb?)
This page lists a few standard packages that are not supported. Anything that relies on those packages would likely not work…
Also as has already been pointed out AOP that relies on byte code weaving at runtime will not work (not all do, eg. Spring AOP).