-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Operating System
Linux
Plugin
device_info_plus
Version
11.3.1
Flutter SDK
3.29.0
Compilation command
flutter build appbundle
flutter build ipa
Temporary fix, downgrade to 11.3.0.
Web build works
Dart Dependencies
Native dependencies
Compilation Error
../../../.pub-cache/hosted/pub.dev/device_info_plus-11.3.1/lib/src/device_info_plus_windows.dart:138:23: Error: The getter 'ComputerNameDnsFullyQualified' isn't defined for the class 'DeviceInfoPlusWindowsPlugin'.
- 'DeviceInfoPlusWindowsPlugin' is from 'package:device_info_plus/src/device_info_plus_windows.dart' ('../../../.pub-cache/hosted/pub.dev/device_info_plus-11.3.1/lib/src/device_info_plus_windows.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'ComputerNameDnsFullyQualified'.
GetComputerNameEx(ComputerNameDnsFullyQualified, nullptr, nSize);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/device_info_plus-11.3.1/lib/src/device_info_plus_windows.dart:144:29: Error: The getter 'ComputerNameDnsFullyQualified' isn't defined for the class 'DeviceInfoPlusWindowsPlugin'.
- 'DeviceInfoPlusWindowsPlugin' is from 'package:device_info_plus/src/device_info_plus_windows.dart' ('../../../.pub-cache/hosted/pub.dev/device_info_plus-11.3.1/lib/src/device_info_plus_windows.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'ComputerNameDnsFullyQualified'.
GetComputerNameEx(ComputerNameDnsFullyQualified, lpBuffer, nSize);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot_program failed: ExceptionFlutter Doctor
[✓] Flutter (Channel stable, 3.29.0, on Arch Linux 6.13.2-zen1-1-zen, locale en_US.UTF-8) [674ms]
• Flutter version 3.29.0 on channel stable at /home/thaun/gits/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 35c388afb5 (2 weeks ago), 2025-02-10 12:48:41 -0800
• Engine revision f73bfc4522
• Dart version 3.7.0
• DevTools version 2.42.2
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [7.8s]
• Android SDK at /home/thaun/Android/Sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /opt/android-studio/jbr/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)
• All Android licenses accepted.
[✓] Chrome - develop for the web [424ms]
• CHROME_EXECUTABLE = /usr/bin/chromium
[✓] Linux toolchain - develop for Linux desktop [1,514ms]
• clang version 19.1.7
• cmake version 3.31.5
• ninja version 1.12.1
• pkg-config version 2.3.0
[✓] Android Studio (version 2024.2) [414ms]
• Android Studio at /opt/android-studio
• Flutter plugin version 82.1.3
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)
[✓] Connected device (3 available) [1,218ms]
• Linux (desktop) • linux • linux-x64 • Arch Linux 6.13.2-zen1-1-zen
• Chrome (web) • chrome • web-javascript • Chromium 133.0.6943.98 Arch Linux
[✓] Network resources [1,062ms]
• All expected network resources are available.
• No issues found!Checklist before submitting a bug
- I searched issues in this repository and couldn't find such bug/problem
- I Google'd a solution and I couldn't find it
- I searched on StackOverflow for a solution and I couldn't find it
- I read the README.md file of the plugin
- I'm using the latest version of the plugin
- All dependencies are up to date with
flutter pub upgrade - I did a
flutter clean - I tried running the example project