screenshots
screenshots copied to clipboard
Can't install on M1
Can't seem to get this installed and working on an M1 Mac.
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.3.1 21E258 darwin-arm, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.67.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
• No issues found!
flutter pub global activate screenshots
Resolving dependencies...
+ archive 2.0.13 (3.3.0 available)
+ args 1.6.0 (2.3.1 available)
+ charcode 1.3.1
+ collection 1.16.0
+ convert 2.1.1 (3.0.2 available)
+ crypto 2.1.5 (3.0.2 available)
+ file 5.2.1 (6.1.2 available)
+ intl 0.16.1 (0.17.0 available)
+ meta 1.8.0
+ path 1.8.2
+ platform 2.2.1 (3.1.0 available)
+ process 3.0.13 (4.2.4 available)
+ pub_cache 0.2.3 (0.3.1 available)
+ pub_semver 1.4.4 (2.1.1 available)
+ resource 2.1.7
+ screenshots 2.1.1
+ source_span 1.9.0
+ string_scanner 1.1.1
+ term_glyph 1.2.0
+ tool_base 1.9.5+3
+ tool_mobile 1.9.5+1
+ typed_data 1.3.1
+ yaml 2.2.1 (3.1.1 available)
Building package executables...
Failed to build screenshots:main:
../../../../.pub-cache/hosted/pub.dartlang.org/platform-2.2.1/lib/src/interface/local_platform.dart:45:41: Error: Member not found: 'packageRoot'.
String get packageRoot => io.Platform.packageRoot;
^^^^^^^^^^^
pub finished with exit code 1
I have exactly the same problem on a Windows 11 computer, so the problem seems to be Flutter rather than the processor.
Is there a workaround? Maybe needs to get updated to Flutter 3?
Same here on a Intel MacBook Pro
@rodydavis im using Flutter 3.0.5 to be exact, and im facing the same issue too (Error: Member not found: 'packageRoot'.) on m1 Macbook.
I'm on flutter 2.10.5, Mac M1 and i have the same issue