Skip to content

Pigeon App: The specified language version is too high #65692

@madatr

Description

@madatr

Hello,

I have been trying to use the Pigeon plugin but when I try to invoke it using: flutter pub run pigeon it results in a list of errors from multiple files all quoting: The specified language version is too high

Here are the error codes:

flutter pub run pigeon \ --input pigeons/message.dart \ --dart_out lib/pigeon.dart \ --java_out ./android/app/src/main/java/com/example/merchant/Pigeon.java \ --java_package "com.example.merchant" ../../../SW/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety/lib/path.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9. // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file ^ ../../../SW/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety/lib/src/context.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9. // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file ^ ../../../SW/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety/lib/src/style.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9. // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file ^ ../../../SW/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety/lib/src/path_exception.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9. // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file ^ ../../../SW/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety/lib/src/path_map.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9. // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file ^ ../../../SW/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety/lib/src/path_set.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9. // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file ^ ../../../SW/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety/lib/src/characters.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9. // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file ^ ../../../SW/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety/lib/src/internal_style.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9. // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file ^ ../../../SW/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety/lib/src/parsed_path.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9. // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file ^ ../../../SW/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety/lib/src/style/posix.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9. // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file

Please Help,

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions