Closed
Description
UPDATE (from @elizarov): JEP 238 multi-version jars seem to be causing various issue with google toolchain. Reported thus far:
MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 26)
Program type already present: kotlinx.coroutines.experimental.InvokeOnCancellation
,Program type already present: kotlinx.coroutines.experimental.internal.LockFreeMPMCQueueNode
, etcclass name (kotlinx/coroutines/experimental/scheduling/LimitingDispatcher) does not match path (META-INF/versions/9/kotlinx/coroutines/experimental/scheduling/LimitingDispatcher.class)
, etc
ORIGINAL REPORT:
Trying to compile an Android project with min SDK 19 and the newly released 0.25.0 I suddenly receive the following build error:
MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 26)
Android Studio: 3.1.4
Android Gradle Plugin: 3.1.4