-
Notifications
You must be signed in to change notification settings - Fork 146
Description
Without changing the library version, our build broke, and it looks like a depenency was changed, and now requires Android 0 (SDK 26)
This is the error we get:
com.android.tools.r8.a: MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 26)
The dependency graph lists
+--- com.microsoft.graph:microsoft-graph:3.5.0
| +--- com.google.code.gson:gson:2.8.6
| --- com.microsoft.graph:microsoft-graph-core:2.0.2
| +--- com.squareup.okhttp3:okhttp:4.9.1 (*)
| --- com.azure:azure-core:1.16.0
We are currently on minSDK 21 for our app and use desugaring, as suggested in your description.
When we exclude azure-core, we can build the library:
implementation ('com.microsoft.graph:microsoft-graph:3.6.0') {
exclude group: 'com.azure', module: 'azure-core'
}
It looks like everything is working, but i'd rather ask if we can skip this dependency.
It's a bit strange, that the SDK requirement changed without any warning. Our CI built the branch successfully yesterday (31.05. at 13:16 CEST)
AB#9657