Skip to content

该项目直接运行flutter run 是否可以启动? #1

Description

@algate

flutter run 运行之后

报错:
Compiler message:
file:///C:/Users/sbbc/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/flare_flutter-1.5.2/lib/flare.dart:1033:18: Error: The argument type 'Int32List' can't be assigned to the parameter type 'Uint16List'.

  • 'Int32List' is from 'dart:typed_data'.
  • 'Uint16List' is from 'dart:typed_data'.
    Try changing the type of the parameter, or casting the argument to 'Uint16List'.
    indices: _indices, textureCoordinates: _uvBuffer);
    ^
    Compiler failed on E:\JavascriptCode\Flutter\flutter_compass\lib\main.dart

FAILURE: Build failed with an exception.

  • Where:
    Script 'D:\Program Files\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 665

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

Process 'command 'D:\Program Files\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 21s
Finished with error: Gradle task assembleDebug failed with exit code 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions