Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Dependency change needs Android O? #783

Copy link
Copy link
@slowcar

Description

@slowcar
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.