0

I have a large Android project (hundreds of source files), and when I try to build it, I get an error. The thing is that it doesn't tell me where exactly this error originates from. Before I try to build the project, Android Studio in no way indicates that there is a problem in the code.

enter image description here

Does anyone know how I can locate where "BleSession" is allegedly being used as functional interface? The class is being used in far to many places to actually manually go through each one. I am using RetroLambda to enable functional interfaces by the way.

I have tried cleaning and rebuilding the entire project, as well as restarting Android Studio itself, without success.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
starman
  • 356
  • 1
  • 4
  • 11

1 Answers1

1

How about doing what the output suggests? Let me quote it: See complete output in console. I guess there you will find the full error with location.

Search for a method with argument BleSession where you supply a lambda expression. As your class BleSession is not a functional interface, you cannot supply a lambda argument for it.

Vampire
  • 35,631
  • 4
  • 76
  • 102
  • Well I did try that, it didn't really help me much, but if someone else can interpret it better than me, please try: https://www.pastiebin.com/58419443d314e – starman Dec 02 '16 at 15:34
  • @starman The console tells you the next step to take: "Some messages have been simplified; recompile with -Xdiags:verbose to get full output" – Code-Apprentice Jan 14 '17 at 23:10
  • Besides that, I already gave you the interpretation in the second half of my answer. – Vampire Jan 15 '17 at 11:56