flutter运行安卓端报错(下载了最新的版本, 直接运行报错, 更换过手机,也更换过网络都不行, iOS端正常)

eryeah 18天前 50

Launching lib/main.dart on MI 8 Lite in debug mode... Running Gradle task 'assembleDebug'... 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/go/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/go/flutter-gradle-plugin-apply

FAILURE: Build failed with an exception.

BUILD FAILED in 3m 32s Error: Gradle task assembleDebug failed with exit code 1

最新回复 (2)
  • x86 18天前
    引用 2
    这个是上层依赖的中心仓库的问题导致的,今天我们处理一下,将依赖都放本地
  • x86 18天前
    引用 3
    请更新测试
返回