Comments (2)
Hi,
I can reproduce this issue when I try to compile the example app...
FYI: To build I had to change cupertino_icons to 1.0.5 this should be no problem..
Output:
Changed 23 dependencies!
Resolving dependencies in .\example...
The current Dart SDK version is 3.1.0.
Because cupertino_icons 0.1.3 doesn't support null safety and no versions of cupertino_icons match >0.1.3 <0.2.0, cupertino_icons ^0.1.3 is forbidden.
So, because flutter_nsd_example depends on cupertino_icons ^0.1.3, version solving failed.
The lower bound of "sdk: '>=2.0.0-dev.28.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety
fake_async 1.3.1 (was 1.3.0)
flutter_lints 1.0.4 (2.0.2 available)
flutter_nsd 1.4.0 from path .. (was 1.3.3 from path ..)
lints 1.0.1 (2.1.1 available)
matcher 0.12.16 (was 0.12.11)
material_color_utilities 0.5.0 (was 0.1.4) (0.8.0 available)
meta 1.9.1 (was 1.7.0)
path 1.8.3 (was 1.8.1)
source_span 1.10.0 (was 1.8.2)
stack_trace 1.11.0 (was 1.10.0) (1.11.1 available)
stream_channel 2.1.1 (was 2.1.0) (2.1.2 available)
string_scanner 1.2.0 (was 1.1.0)
term_glyph 1.2.1 (was 1.2.0)
test_api 0.6.0 (was 0.4.9) (0.6.1 available)
vector_math 2.1.4 (was 2.1.2)
- web 0.1.4-beta
These packages are no longer being depended on:
- charcode 1.3.1
Changed 21 dependencies!
windows/runner/Runner.rc does not use Flutter version information, updating.
C:\temp\flutter_nsd-master\example\windows\flutter\ephemeral.plugin_symlinks\flutter_nsd\windows\flutter_nsd_plugin.cpp(104,92): error C2220: the following warning is treated as an error [C:\temp\flutter_nsd-master\example\build\windows\plugins\flutter_nsd\flutter_nsd_plugin.vcxproj]
C:\temp\flutter_nsd-master\example\windows\flutter\ephemeral.plugin_symlinks\flutter_nsd\windows\flutter_nsd_plugin.cpp(104,92): warning C4834: discarding return value of function with 'nodiscard' attribute [C:\temp\flutter_nsd-master\example\build\windows\plugins\flutter_nsd\flutter_nsd_plugin.vcxproj]
C:\temp\flutter_nsd-master\example\windows\flutter\ephemeral.plugin_symlinks\flutter_nsd\windows\flutter_nsd_plugin.cpp(104,120): warning C4834: discarding return value of function with 'nodiscard' attribute [C:\temp\flutter_nsd-master\example\build\windows\plugins\flutter_nsd\flutter_nsd_plugin.vcxproj]
C:\temp\flutter_nsd-master\example\windows\flutter\ephemeral.plugin_symlinks\flutter_nsd\windows\flutter_nsd_plugin.cpp(164,47): warning C4834: discarding return value of function with 'nodiscard' attribute [C:\temp\flutter_nsd-master\example\build\windows\plugins\flutter_nsd\flutter_nsd_plugin.vcxproj]
C:\temp\flutter_nsd-master\example\windows\flutter\ephemeral.plugin_symlinks\flutter_nsd\windows\flutter_nsd_plugin.cpp(164,66): warning C4834: discarding return value of function with 'nodiscard' attribute [C:\temp\flutter_nsd-master\example\build\windows\plugins\flutter_nsd\flutter_nsd_plugin.vcxproj]
Building Windows application... 32,1s
Build process failed.
PS C:\temp\flutter_nsd-master\example>
from flutter_nsd.
Have you tried to build the example app in debug/release on windows?
Also note that your compiler is configured to treat warnings as errors. Try disabling that.
from flutter_nsd.
Related Issues (20)
- Notify when service is lost HOT 5
- NetServiceBrowser is deprecated on iOS/MacOS
- Not getting any output from example app even though run shows servers HOT 3
- Windows: TXT records are returned as string instead of UInt8List, causing failure
- Windows: txt records are sent as [key: key] instead of [key: value] HOT 1
- Stream<NsdServiceInfo> doesn't add service If msdn server hass service txt is added HOT 5
- NsdServiceInfo Class should have IP HOT 3
- java.lang.IllegalArgumentException: listener not registered HOT 3
- Any plans for Linux support? HOT 1
- The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher HOT 4
- stopDiscovery() stops, but generates an error HOT 2
- missing permission for some Android versions HOT 2
- stopDiscovery Not working giving below exception HOT 4
- Windows build is failing
- startDiscoveryFailed every time HOT 1
- MacOS and iOS not returning any hostAddress HOT 1
- getting NsdErrorCode.startDiscoveryFailed when hot restart app
- Services are not discovered on Android HOT 2
- On Android, the IP address is returned in the hostname field of NsdServiceInfo
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 flutter_nsd.