Uso de lambdaj en android

¿Alguien intentó usar la biblioteca lambdaj en el desarrollo de Android?

Funciona bien para mí cuando creo una pequeña aplicación java simple, pero no puedo manejar usarla en una aplicación de Android.

ACTUALIZAR:

Estoy agregando lambdaj (lambdaj-2.3.2-with-dependencies.jar, descargado desde http://code.google.com/p/lambdaj ), y luego al crear mi aplicación obtendrá el siguiente error:

Dx warning: Ignoring InnerClasses attribute for an anonymous inner class (org.hamcrest.generator.qdox.directorywalker.DirectoryScanner$1) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is *not* an inner class. [2011-05-12 15:45:30 - MyAppName] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class (org.hamcrest.generator.qdox.JavaDocBuilder$1) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is *not* an inner class. [2011-05-12 15:45:30 - MyAppName] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class (org.hamcrest.generator.qdox.junit.APITestCase$1) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is *not* an inner class. [2011-05-12 15:45:30 - MyAppName] Dx UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type java.lang.Object using a local variable of type int. This is symptomatic of .class transformation tools that ignore local variable information. ... skipped stack trace ... ...while working on block 001b ...while working on method yylex:()I ...while processing yylex ()I ...while processing org/hamcrest/generator/qdox/parser/impl/JFlexLexer.class [2011-05-12 15:45:30 - MyAppName] Dx 1 error; aborting [2011-05-12 15:45:30 - MyAppName] Conversion to Dalvik format failed with error 1 

Sé que esta pregunta es de 4 años de edad, pero tuve el mismo problema nowdays y he resuelto por añadir a mi gradle construir configuración depedencies la última versión hamcrest biblioteca disponible.

Aquí mi hilo relacionado


ACTUALIZAR:

Tuve algún problema con lambdaj en mi proyecto, esta biblioteca no es totalmente compatible. Me trasladé a retrolambda , echa un vistazo!

Me parece que hay un problema con la biblioteca hamcrest. Intente seguir el consejo en el error y reconstruya la biblioteca de hamcrest del origen.

  • No se puede obtener el proveedor com.google.android.gms.measurement.AppMeasurementContentProvider
  • Escritura de datos grabados PCM en un archivo .wav (java android)
  • Pruebas funcionales de Android Espresso con fragmentos
  • Emulador de emparejamiento de par con emulador de Android
  • Android Studio 2.2 Vista previa 3 Error de diseño
  • Retrasos en aplicaciones de Android GraphView en tiempo real
  • ¿Cómo poner Textviews en una matriz y findViewById ellos?
  • RealmObject AND Parcelable
  • Conecte con los clientes de iOS y Android a SockJS Backend
  • ¿Puedo crear Bitmaps con el Android NDK en C ++ y pasarlos a Java muy rápido?
  • ¿Cómo puedo coordinar dos tareas de fondo?
  • FlipAndroid es un fan de Google para Android, Todo sobre Android Phones, Android Wear, Android Dev y Aplicaciones para Android Aplicaciones.