Skip to content

[Question] Kotlin app java.lang.LinkageError: issue ,please help #28071

Description

@RyderChen0708

My app use microsoft.identity to login Microsoft account

but at here cause crash.

val interactiveBrowserCredential = InteractiveBrowserCredentialBuilder()
            .clientId(CLIENT_ID)
            .redirectUrl("")
            .build()

here is crash information

java.lang.LinkageError: Package versions: jackson-annotations=0.0, jackson-core=0.0, jackson-databind=0.0, jackson-dataformat-xml=0.0, jackson-datatype-jsr310=0.0, azure-core=1.26.0, Troubleshooting version conflicts: https://aka.ms/azsdk/java/dependency/troubleshoot

i try to modify dependencies
but not work.

    implementation 'com.microsoft.identity.client:msal:3.0.2'
    implementation 'com.microsoft.graph:microsoft-graph:5.19.0'
    implementation 'com.azure:azure-identity:1.4.6'
    implementation 'com.azure:azure-sdk-bom:1.2.0'
    implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.10.5'

Thanks for help!

Metadata

Metadata

Assignees

Labels

customer-reportedIssues that are reported by GitHub users external to the Azure organization.dependency-issueIssue that is caused by dependency conflictsdependency-issue-jacksonIssue caused by dependency version mismatch with one of the Jackson librariesneeds-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions