Lambdaj NoClassDefFoundError on android -
i'm trying out lambdaj in android app simplest filtering operations fail exception listed. example:
group<person> groupedpersons= group(people,by(on(person.class).getage()));
and other select or filter ends same following exception, idea? "person" class greendao class if related..... thanks
04-05 16:07:48.735: e/androidruntime(6579): fatal exception: main 04-05 16:07:48.735: e/androidruntime(6579): java.lang.noclassdeffounderror:ch.lambdaj.function.argument.proxyargument 04-05 16:07:48.735: e/androidruntime(6579): @ ch.lambdaj.function.argument.argumentsfactory.createplaceholder(argumentsfactory.java:68) 04-05 16:07:48.735: e/androidruntime(6579): @ ch.lambdaj.function.argument.argumentsfactory.registernewargument(argumentsfactory.java:58) 04-05 16:07:48.735: e/androidruntime(6579): @ ch.lambdaj.function.argument.argumentsfactory.createargument(argumentsfactory.java:50) 04-05 16:07:48.735: e/androidruntime(6579): @ ch.lambdaj.function.argument.argumentsfactory.createargument(argumentsfactory.java:39) 04-05 16:07:48.735: e/androidruntime(6579): @ ch.lambdaj.lambda.on(lambda.java:63)
this exception because library not included generated android app (.apk file).
to fix it, there's nothing on how code written, project settings.
- if you're including .jar file, make sure file in libs folder.
- if you're including whole project, make sure include project in export in java build path in project properties.
Comments
Post a Comment