Git Product home page Git Product logo

Comments (9)

divaypandey avatar divaypandey commented on May 21, 2024 2

@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

from fluentui-android.

postfixNotation avatar postfixNotation commented on May 21, 2024 2

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"

I'm experiencing the exact same issue! minSdkVersion is 21 though, but that's not the point.

EDIT:
maven { url "https://pkgs.dev.azure.com/MicrosoftDeviceSDK/DuoSDK-Public/_packaging/Duo-SDK-Feed/maven/v1" }

needs to be added to the module build gradle file in allprojects -> repositories

from fluentui-android.

aaronspooky avatar aaronspooky commented on May 21, 2024 1

I don't know why, but if you add this to the top-level build.gradle file, it works:

allprojects { repositories { maven { url "https://pkgs.dev.azure.com/MicrosoftDeviceSDK/DuoSDK-Public/_packaging/Duo-SDK-Feed/maven/v1" } } }

Microsoft documentation: https://docs.microsoft.com/en-us/dual-screen/android/api-reference/dualscreen-layout?tabs=java

from fluentui-android.

tamasane97 avatar tamasane97 commented on May 21, 2024

Sync Project with Gradle files, solves the issue.

from fluentui-android.

divaypandey avatar divaypandey commented on May 21, 2024

I did, also cleaned and tried to rebuild, neither helped in 0.0.4, 0.0.3 still works fine

from fluentui-android.

tamasane97 avatar tamasane97 commented on May 21, 2024

@aaronspooky It is already present in the top-level build.gradle file, https://github.com/microsoft/fluentui-android/blob/master/build.gradle
@azuredivay I am unable to produce this issue. The gradle build completes successfully without any issue. Please try recloning the project.

from fluentui-android.

divaypandey avatar divaypandey commented on May 21, 2024

@postfixNotation's solution worked!

from fluentui-android.

truedat101 avatar truedat101 commented on May 21, 2024

Why is this closed if it is a work around and isn't integrated into the instructions?

from fluentui-android.

truedat101 avatar truedat101 commented on May 21, 2024

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.

from fluentui-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.