Giter Club home page Giter Club logo

flutter-template-plus's Issues

无法运行

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: �����Ԫ�� (uri:"", local:"base-extension")������Ԫ��Ϊ<{}codename>,<{}layoutlib>,<{}api-level>
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
lib/provider/theme_provider.dart:21:31: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.

  • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/D:/Android/flutter_windows_3.0.0-stable/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    return SchedulerBinding.instance?.window.platformBrightness ==
    ^
    /D:/Android/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_easyloading-3.0.3/lib/src/widgets/container.dart:64:24: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
  • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/D:/Android/flutter_windows_3.0.0-stable/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    SchedulerBinding.instance?.schedulerPhase ==
    ^
    /D:/Android/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_easyloading-3.0.3/lib/src/widgets/container.dart:101:24: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
  • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/D:/Android/flutter_windows_3.0.0-stable/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    SchedulerBinding.instance?.addPostFrameCallback((_) => completer
    ^
    /D:/Android/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_easyloading-3.0.3/lib/src/widgets/container.dart:112:24: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
  • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/D:/Android/flutter_windows_3.0.0-stable/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    SchedulerBinding.instance?.addPostFrameCallback((_) => completer
    ^
    /D:/Android/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_easyloading-3.0.3/lib/src/widgets/overlay_entry.dart:35:26: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
  • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/D:/Android/flutter_windows_3.0.0-stable/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    if (SchedulerBinding.instance?.schedulerPhase ==
    ^
    /D:/Android/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_easyloading-3.0.3/lib/src/widgets/overlay_entry.dart:37:24: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
  • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/D:/Android/flutter_windows_3.0.0-stable/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    SchedulerBinding.instance?.addPostFrameCallback((_) {
    ^
    /D:/Android/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-2.3.1/lib/src/structs.g.dart:554:31: Error: Member not found: 'UnicodeChar'.
    int get UnicodeChar => Char.UnicodeChar;
    ^^^^^^^^^^^
    /D:/Android/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-2.3.1/lib/src/structs.g.dart:555:38: Error: Setter not found: 'UnicodeChar'.
    set UnicodeChar(int value) => Char.UnicodeChar = value;
    ^^^^^^^^^^^
    /D:/Android/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-2.3.1/lib/src/structs.g.dart:557:29: Error: Member not found: 'AsciiChar'.
    int get AsciiChar => Char.AsciiChar;
    ^^^^^^^^^
    /D:/Android/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-2.3.1/lib/src/structs.g.dart:558:36: Error: Setter not found: 'AsciiChar'.
    set AsciiChar(int value) => Char.AsciiChar = value;
    ^^^^^^^^^
    /D:/Android/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.flutter-io.cn/platform-3.0.2/lib/src/interface/local_platform.dart:46:19: Error: Member not found: 'packageRoot'.
    io.Platform.packageRoot; // ignore: deprecated_member_use
    ^^^^^^^^^^^

FAILURE: Build failed with an exception.

  • Where:
    Script 'D:\Android\flutter_windows_3.0.0-stable\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1156

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'D:\Android\flutter_windows_3.0.0-stable\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 18s
Exception: Gradle task assembleDebug failed with exit code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.