I\'m developing and android countdown app.
In the app you can add or delete as many countdowns as you want.
All the Countdowns are saved in an ArrayList. I can\'
This seems to be an issue with guide 3.0 no_aop. I upgraded to guice 4.0 (beta) no_aop and the issue went away.
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>4.0-beta</version>
<classifier>no_aop</classifier>
</dependency>
you'll also need to add an exclusion to the original roboguice dependency:
<dependency>
<groupId>org.roboguice</groupId>
<artifactId>roboguice</artifactId>
<version>2.0</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
</exclusion>
</exclusions>
</dependency>
In android studio, I changed build.gradle dependencies.
dependencies {
...
compile 'com.google.inject:guice:4.0-beta:no_aop'
compile 'org.roboguice:roboguice:2.0'
}
According to this issue, the problem is a superficial one. It offers several circularly referenced rabbit holes to explain it, I gave up after the first few. The gist of it is that it can't be garbage collected properly and that if you are "doing funky classloader stuff" you may run into problems.
For me, upgrading to guice 4.0-beta introduced an error regarding com.google.inject.utils.$ImmutableList
, which is more problematic than the (apparently) superficial Finalizer issue.