无法在Android上将MSAL从1.2.1更新到1.5.1 [英] Unable to update msal from 1.2.1 to 1.5.1 on Android

查看:146
本文介绍了无法在Android上将MSAL从1.2.1更新到1.5.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Android上的msal版本从1.2.0更新到1.5.1,但出现以下错误:

I am trying to update msal version from 1.2.0 to 1.5.1 on Android but I am getting following error:

无法解析com.microsoft.device.display:display-mask:0.3.0.

Could not resolve com.microsoft.device.display:display-mask:0.3.0.

该如何解决?

推荐答案

根据此处已知: https://github.com/AzureAD/microsoft-authentication-library-for-android/issues/1027

我认为这也将适用于1.5.1.看来您有2个选择,有人解决过它 https://github.com/AzureAD/microsoft-authentication-library-for-android/issues/1027#issuecomment-621893161

I would think this will apply to 1.5.1 as well. it seems you have 2 options, someone worked around it https://github.com/AzureAD/microsoft-authentication-library-for-android/issues/1027#issuecomment-621893161

,另一个基于更改日志:有关详细信息: https://github.com/AzureAD/microsoft-authentication-library-for-android/issues/1027#issuecomment-621921447

and the other is based on the changelog: for details: https://github.com/AzureAD/microsoft-authentication-library-for-android/issues/1027#issuecomment-621921447

对于希望包含其自己的Surface Duo SDK副本的应用,请在MSAL中排除SDK,以免发生冲突.执行("com.microsoft.identity.client:msal:1.5.0"){排除组:'com.microsoft.device.display'}

For apps that would like to include their own copy of Surface Duo SDK, please exclude the SDK inside MSAL to avoid conflicts. implementation ("com.microsoft.identity.client:msal:1.5.0") { exclude group: 'com.microsoft.device.display' }

然后,您需要在gradle中添加一些内容.

then you need to add something in the gradle.

这篇关于无法在Android上将MSAL从1.2.1更新到1.5.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆