New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to resolve: com.microsoft.device:dualscreen-layout:1.0.0-alpha01 #5
Comments
Sync Project with Gradle files, solves the issue. |
I did, also cleaned and tried to rebuild, neither helped in 0.0.4, 0.0.3 still works fine |
I don't know why, but if you add this to the top-level build.gradle file, it works:
Microsoft documentation: https://docs.microsoft.com/en-us/dual-screen/android/api-reference/dualscreen-layout?tabs=java |
@aaronspooky It is already present in the top-level build.gradle file, https://github.com/microsoft/fluentui-android/blob/master/build.gradle |
@tamasane The issue wasn't from cloning this project, it was from adding Fluent UI as a dependency in a new android project, apparently version 0.0.4 depends on what @aaronspooky pointed out, so it fails to build as the package itself doesn't contain it |
I'm experiencing the exact same issue! minSdkVersion is 21 though, but that's not the point. EDIT: needs to be added to the module build gradle file in allprojects -> repositories |
@postfixNotation's solution worked! |
Why is this closed if it is a work around and isn't integrated into the instructions? |
So the instructions include the obscure "surface-duo" https://github.com/microsoft/fluentui-android#a-develop-for-surface-duo in the main readme, however, it is presented as if this is an option, in case you are developing for surface-duo. It should just be required configuration. |
Build issue when updating gradle version of Fluent UI implementation to 0.0.4
implementation 'com.microsoft.fluentui:FluentUIAndroid:0.0.4'
Grade issue disappears at 0.0.3.
minSdkVersion 22
targetSdkVersion 29
compileSdkVersion 29
buildToolsVersion "29.0.2"
The text was updated successfully, but these errors were encountered: