Skip to content

flutter demo 前端项目启动不起来报错 #178

@ckz-888

Description

@ckz-888

What would you like to share?

You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply

You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply

Downloading file from: https://github.com/media-kit/libmpv-android-video-build/releases/download/v1.1.5/default-arm64-v8a.jar

FAILURE: Build failed with an exception.

  • Where:
    Build file 'C:\Users\Administrator\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\media_kit_libs_android_video-1.3.7\android\build.gradle' line: 83

  • What went wrong:
    A problem occurred evaluating project ':media_kit_libs_android_video'.

Connection timed out: connect

  • 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.

BUILD FAILED in 1m 23s
Running Gradle task 'assembleDebug'... 84.8s
Error: Gradle task assembleDebug failed with exit code 1

Additional information

No response

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