If you like this site and you like coffee, why not buy me one. Because I love it

Click to buy coffe
avatar
Untitled

Guest 88 2nd Nov, 2022

DART 18.49 KB
                                           
                         Try the new cross-platform PowerShell https://aka.ms/pscore6

PS F:\PRACA\WORKSPACE\DR20X\dr203-recorder-mobile-sw\dr203_recorder_app> flutter pub get
Running "flutter pub get" in dr203_recorder_app...                  3,3s
The plugin `flutter_ble_lib` uses a deprecated version of the Android embedding.                                                                                                                                                 
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
PS F:\PRACA\WORKSPACE\DR20X\dr203-recorder-mobile-sw\dr203_recorder_app> flutter clean
Building with Flutter multidex support enabled.
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
lib/bt_air_stack.dart:485:1: Error: Type 'Uint8List' not found.
Uint8List encodeString(String string) {
^^^^^^^^^
lib/bt_air_stack.dart:498:18: Error: Type 'Uint8List' not found.
  final Function(Uint8List) dataEvent;
                 ^^^^^^^^^
lib/main.dart:246:17: Error: No named parameter with the name 'foregroundColor'.
                foregroundColor: Colors.white
                ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:301:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:353:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:397:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:417:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:433:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:458:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:474:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:494:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:510:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:530:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:546:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:566:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:582:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:603:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:620:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:652:33: Error: No named parameter with the name 'foregroundColor'.
                                foregroundColor: Colors.white
                                ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:678:33: Error: No named parameter with the name 'foregroundColor'.
                                foregroundColor: Colors.white
                                ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:708:33: Error: No named parameter with the name 'foregroundColor'.
                                foregroundColor: Colors.white
                                ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:731:33: Error: No named parameter with the name 'foregroundColor'.
                                foregroundColor: Colors.white
                                ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:752:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:768:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:788:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:804:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:824:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:840:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:860:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:880:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:906:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:926:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:951:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:971:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:997:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:1017:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:1041:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:1061:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:1083:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
                              ^^^^^^^^^^^^^^^
/E:/TOOLS/flutter/flutter/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
                     ^^^^^^^^^
lib/main.dart:1099:31: Error: No named parameter with the name 'foregroundColor'.
                              foregroundColor: Colors.white
           ^^^^^^^^^
lib/bt_air_stack.dart:490:12: Error: Undefined name 'Uint8List'.
    return Uint8List.fromList([0]);
           ^^^^^^^^^
lib/bt_air_stack.dart:498:18: Error: 'Uint8List' isn't a type.
  final Function(Uint8List) dataEvent;
                 ^^^^^^^^^


FAILURE: Build failed with an exception.

* Where:
Script 'E:\TOOLS\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1156

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'E:\TOOLS\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 36s
Running Gradle task 'assembleDebug'...                             37,9s
Exception: Gradle task assembleDebug failed with exit code 1
PS F:\PRACA\WORKSPACE\DR20X\dr203-recorder-mobile-sw\dr203_recorder_app>
                      
                                       
To share this paste please copy this url and send to your friends
RAW Paste Data
Recent Pastes
Ta strona używa plików cookie w celu usprawnienia i ułatwienia dostępu do serwisu oraz prowadzenia danych statystycznych. Dalsze korzystanie z tej witryny oznacza akceptację tego stanu rzeczy.
Wykorzystywanie plików Cookie
Jak wyłączyć cookies?
ROZUMIEM