1

I have an Android.mk file and I was trying to make a build for Android 8.1 where I was using RxJava but while building it, I was getting the error

Lambda coming from jar file need their interfaces on the classpath to be compiled

so, I searched a lot and found that

"ANDROID_COMPILE_WITH_JACK:=false" 

fixes the issue but I want to know how and why it is like that.

Sweta Jain
  • 3,248
  • 6
  • 30
  • 50
NiJ
  • 23
  • 6

1 Answers1

0

I found on https://source.android.com/setup/build/jack that Jack supports Java programming language 1.7 and lambda(in rxJava) is 1.8 feature so is it causing the problem? That is why I need to disable the compilation?

NiJ
  • 23
  • 6
  • Please only use the answer text field if you really want to answer the question. Otherwise please use the link `Add a comment` below the question. – Robert May 19 '22 at 12:47