Comments (9)
@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.
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.
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.
Sync Project with Gradle files, solves the issue.
from fluentui-android.
I did, also cleaned and tried to rebuild, neither helped in 0.0.4, 0.0.3 still works fine
from fluentui-android.
@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.
@postfixNotation's solution worked!
from fluentui-android.
Why is this closed if it is a work around and isn't integrated into the instructions?
from fluentui-android.
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)
- V2 Drawer (Bottom) - Scroll, then expand instead of the other way around HOT 1
- TextStyle function that gets used in Tokenized Button doesn't exists anymore HOT 1
- Testing Fabric bot for labels
- CCB Crashes when long pressing item without providing optional LongPressItemClicked handler HOT 1
- Talkback should announce roles for CCB buttons HOT 1
- Accessibility - Listview header requires two tab button taps to navigate to next item HOT 2
- Unread dot in V2ListItem shifts all other elements to the right
- ListItem - trailingAccessoryContent with Button causes jank
- SideRail does not preserve background color when placed in a Material Theme
- Crash on rotation when something is picked from PeoplePicker (Fluent V2)
- [TalkBack] Talkback not announcing selected pill button index in PillBar V2 HOT 2
- Dualscreen-layout dependency causes the project to fail to build properly
- Adding Foreground Disabled 1 to the Label HOT 1
- Multiple substitutions specified in non-positional format of string resource string/position_string
- java.lang.IllegalArgumentException: The target value must have an associated anchor HOT 2
- Unable to dismiss bottom drawer when predictive back gesture is on
- [Accessibility] Padding on certain components is not adjusted with large font size and hinders readability HOT 3
- ListItem.Header Accessory Button Not Announcing Button as Button
- .NET Android projects support
- Scrolling down on a Bottom Drawer dismisses it too easily
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentui-android.