AGPBI: {"kind":"error","text":"MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 26)","sources":[{}],"tool":"D8"}
CoolMind opened this issue ยท 7 comments
CoolMind commented
Hello!
Yes, I know that can set min SDK = 26, but how to make it less? Java version 1.8 is already set.
astraube commented
Dear @CoolMind CoolMind friend, I also have this same problem. but in my case I need to keep minSdkVersion = 16. Could you solve the problem?
astraube commented
I found the problem, is the mockk that is crashing.
EggEggs commented
It seems to be a mockk related issue.
I modified the mockk version to 1.9.2 so it was built normally.
sagarkhakhar commented
ahmedeltaher commented
Reverted to mockk version 1.9.2
, you can update from master
sagarkhakhar commented
Thanks @ahmedeltaher for your support for this architecture with all latest dependencies.