spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Does Not Work on Windows 10 LTSC

Open angudaz opened this issue 3 years ago • 20 comments

Describe the bug As mentioned in this bug report, I'm unable to run Spotube on Windows 10 LTSC. The version I tried running is the latest version, 2.2.1.

To Reproduce Steps to reproduce the behavior:

  1. Have Windows 10 LTSC
  2. Download Spotube
  3. Install Spotube
  4. Attempt to run Spotube (appears in task manager for 2 seconds and disappears).

Expected behavior It's supposed to run

Screenshots If applicable, add screenshots to help explain your problem.

Installation Source/Method Straight from github using Spotube-windows-x86_64-setup.exe

Desktop (please complete the following information):

  • OS: Windows 10 Enterprise LTSC
  • Version: 1809 Build 17763.2928

Additional context Running as admin doesn't do anything (Nor does compatibility mode). I have Visual C++ Redistributables installed. Nightly build doesn't work as well.

angudaz avatar Jun 20 '22 02:06 angudaz

There's now only one way to know what the error is & I don't have Windows 10 LTSC installation. So if you can, can you build Spotube from source & then provide the error generated from the terminal/cmdline

Additional resources:

KRTirtho avatar Jun 20 '22 03:06 KRTirtho

Alright, Ill try building it myself and tell you how it goes.

angudaz avatar Jun 20 '22 04:06 angudaz

Good luck. You're gonna need it image

KRTirtho avatar Jun 20 '22 04:06 KRTirtho

After fiddling with create-secrets.dart and my secrets.json file, (I had to move create-secrets.dart from the bin dir to the root so it would find a path it wasn't finding.), I was able to finally try building the app. Here's what I got:

libwinmedia - 0.0.3

Building on Windows against C++/WinRT 2.0.210806.1 C++ Standard: 17 Enabled Dart VM NativePorts callbacks. Nuget.exe not found, trying to download or use cached version. /D:/flutter/.pub-cache/hosted/pub.dartlang.org/scroll_to_index-2.1.1/lib/scroll_to_index.dart(358,57): warning GBC99161D: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null. [D:\Spotube-build\spotube\build\windows\flutter\flutter_assemble.vcxproj] /D:/flutter/.pub-cache/hosted/pub.dartlang.org/fading_edge_scrollview-2.0.1/lib/src/fading_edge_scrollview.dart(195,20): warning GBC99161D: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null. [D:\Spotube-build\spotube\build\windows\flutter\flutter_assemble.vcxproj] /D:/flutter/.pub-cache/hosted/pub.dartlang.org/fading_edge_scrollview-2.0.1/lib/src/fading_edge_scrollview.dart(220,20): warning GBC99161D: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null. [D:\Spotube-build\spotube\build\windows\flutter\flutter_assemble.vcxproj] Building Windows application... Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows.

No idea if this was my fault or not though. I feel like I went through the instructions right (although using the example json didn't let me use create-secrets.dart since there were unexpected characters) so this might be the errors you were looking for. I honestly have no idea what any of it means lol

angudaz avatar Jun 20 '22 05:06 angudaz

The example secrets.json file contains fake secrets & they won't to work at all. Youll have to fill it with your own Genius Lyrics API keys and Spotify clientId & clientSecrets

Relevant Links:

KRTirtho avatar Jun 20 '22 06:06 KRTirtho

Thats what I did

EDIT: I did NOT add the local host thing. Gonna rebuild rq

angudaz avatar Jun 20 '22 07:06 angudaz

Added the localhost thing you just mentioned to the apps I made. Did a quick build to see if it works. Here's what I got:

Building on Windows against C++/WinRT 2.0.210806.1 C++ Standard: 17 Enabled Dart VM NativePorts callbacks. Nuget.exe not found, trying to download or use cached version. Building Windows application... Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows.

angudaz avatar Jun 20 '22 07:06 angudaz

Did you install Desktop development with C++ component inside Visual Studio Installer?

KRTirtho avatar Jun 20 '22 08:06 KRTirtho

Also show me the output of flutter doctor -v

KRTirtho avatar Jun 20 '22 08:06 KRTirtho

Did you install Desktop development with C++ component inside Visual Studio Installer? Yes, I did since it didnt build the first time I tried.

Also show me the output of flutter doctor -v [√] Flutter (Channel stable, 3.0.2, on Microsoft Windows [Version 10.0.17763.2928], locale en-US) • Flutter version 3.0.2 at D:\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision cd41fdd495 (12 days ago), 2022-06-08 09:52:13 -0700 • Engine revision f15f824b57 • Dart version 2.17.3 • DevTools version 2.12.2

[X] Android toolchain - develop for Android devices X Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions). If the Android SDK has been installed to a custom location, please use flutter config --android-sdk to update to that location.

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.16) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community • Visual Studio Community 2019 version 16.11.32602.291 • Windows 10 SDK version 10.0.19041.0

[!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] IntelliJ IDEA Community Edition (version 2020.2) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.2 • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code (version 1.49.0) • VS Code at C:\Users\Thorendua\AppData\Local\Programs\Microsoft VS Code • Flutter extension can be installed from: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (1 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.17763.2928]

[√] HTTP Host Availability • All required HTTP hosts are available

! Doctor found issues in 3 categories.

If Im 100% required to download everything here, then Ill do it. I didnt install the Android and Chrome stuff since I thought I didnt need them to build it.

EDIT: I actually installed the Android Studio stuff, but its not detecting it.

angudaz avatar Jun 20 '22 08:06 angudaz

Everything looks in order. I think you only don't have nuget.exe available in your $PATH variable I guess, you've to download & install nuget too

Download Nuget Commandline Executable & place the executable in the spotube directory Or, if you have chocolatey installed in your system you can simply install nuget by running choco install nuget.commandline in an elevated command prompt

KRTirtho avatar Jun 20 '22 08:06 KRTirtho

Everything looks in order. I think you only don't have nuget.exe available in your $PATH variable I guess, you've to download & install nuget too

Download Nuget Commandline Executable & place the executable in the spotube directory Or, if you have chocolatey installed in your system you can simply install nuget by running choco install nuget.commandline in an elevated command prompt

Same error after putting Nuget into the build folder.

Building on Windows against C++/WinRT 2.0.210806.1 C++ Standard: 17 Enabled Dart VM NativePorts callbacks. Building Windows application... Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows.

angudaz avatar Jun 20 '22 08:06 angudaz

Try running flutter clean first & then run to see if works

KRTirtho avatar Jun 20 '22 08:06 KRTirtho

This time I got a few more errors

Building on Windows against C++/WinRT 2.0.210806.1 C++ Standard: 17 Enabled Dart VM NativePorts callbacks. /D:/flutter/.pub-cache/hosted/pub.dartlang.org/scroll_to_index-2.1.1/lib/scroll_to_index.dart(358,57): warning GBC99161D: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null. [D:\Spotube-build\spotube\build\windows\flutter\flutter_assemble.vcxproj] /D:/flutter/.pub-cache/hosted/pub.dartlang.org/fading_edge_scrollview-2.0.1/lib/src/fading_edge_scrollview.dart(195,20): warning GBC99161D: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null. [D:\Spotube-build\spotube\build\windows\flutter\flutter_assemble.vcxproj] /D:/flutter/.pub-cache/hosted/pub.dartlang.org/fading_edge_scrollview-2.0.1/lib/src/fading_edge_scrollview.dart(220,20): warning GBC99161D: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null. [D:\Spotube-build\spotube\build\windows\flutter\flutter_assemble.vcxproj] D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.dir\Debug\Generated Files\winrt/impl/Windows.UI.Xaml.Media.Animation.0.h(2294,39): warning C4002: too many arguments for function-like macro invocation 'GetCurrentTime' [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(389,25): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(539,25): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(662,25): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(810,10): warning C4244: 'return': conversion from '_Rep' to 'int32_t', possible loss of data [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(819,46): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(828,52): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(837,52): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(845,74): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1637,10): warning C4244: 'return': conversion from '_Rep' to 'int32_t', possible loss of data [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1654,33): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1661,33): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1670,33): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1677,33): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1689,33): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1650,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1651,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1652,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1658,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1665,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1667,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1674,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1681,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1683,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1684,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1685,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1686,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1687,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1693,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1695,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1709,33): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1719,33): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1733,33): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1745,33): warning C4018: '<': signed/unsigned mismatch [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1707,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1713,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1715,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1717,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1723,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1727,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1728,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1729,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1737,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1739,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1740,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1741,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1742,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1743,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1749,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1751,3): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1773,58): warning C4244: 'argument': conversion from 'uint64_t' to 'uint32_t', possible loss of data [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1775,40): warning C4244: 'argument': conversion from 'uint64_t' to 'uint32_t', possible loss of data [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1326,1): warning C4244: '=': conversion from '_Rep' to 'int32_t', possible loss of data [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] D:\Spotube-build\spotube\windows\flutter\ephemeral.plugin_symlinks\libwinmedia\master\libwinmedia.cpp(1270,1): warning C4244: '=': conversion from '_Rep' to 'int32_t', possible loss of data [D:\Spotube-build\spotube\build\windows\plugins\libwinmedia\libwinmedia\libwinmedia.vcxproj] Building Windows application... Error waiting for a debug connection: The log reader stopped unexpectedly, or never started. Error launching application on Windows.

angudaz avatar Jun 20 '22 08:06 angudaz

The main issue here is the Error waiting for a debug connection: The log reader stopped unexpectedly, or never started error log . Above error is just internal warnings & should be fixed if you again run flutter clean

KRTirtho avatar Jun 20 '22 09:06 KRTirtho

The main issue here is the Error waiting for a debug connection: The log reader stopped unexpectedly, or never started error log . Above error is just internal warnings & should be fixed if you again run flutter clean

Alright, Ill try that again tomorrow. Its 5:30AM where I live right now so Im gonna need to sleep.

angudaz avatar Jun 20 '22 09:06 angudaz

Dude, get some sleep. You really need that

KRTirtho avatar Jun 20 '22 10:06 KRTirtho

Same problem for me: Edition Windows 11 Home Version 22H2 Installed on ‎27.‎05.‎2022 OS build 22621.290 Experience Windows Feature Experience Pack 1000.22632.1000.0

Vintic avatar Jul 15 '22 19:07 Vintic

I just did ~40 Captcha to sign up and say this is not fixed yet! (also reverting back to 2.6.0 works fine for me too, win 11)

Bugophobe avatar Apr 19 '24 06:04 Bugophobe

The only native dependency I had added in 2.7.0 was window_manager replacing bitsdojo_window. I doubt this has something to do with. As mentioned in #1156, any CPU that doesn't support SSE4_1 and AVX cannot run Spotube.

KRTirtho avatar May 02 '24 09:05 KRTirtho