【问题标题】:A problem occurred evaluating project ':app'. flutter评估项目 ':app' 时出现问题。扑
【发布时间】:2021-12-31 14:18:51
【问题描述】:

在运行应用程序时出现以下错误

FAILURE: Build failed with an exception.

* Where:
Build file 'E:\flutter apps\flutter apps\dogs_breed_getx\android\app\build.gradle' line: 28

* What went wrong:
A problem occurred evaluating project ':app'.
> No signature of method: build_eyvedltoajcnysuiedlp15vqd.android() is applicable for argument types: (build_eyvedltoajcnysuiedlp15vqd$_run_closure2) values: [build_eyvedltoajcnysuiedlp15vqd$_run_closure2@6084aaaa]

* 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 5s
Exception: Gradle task assembleDebug failed with exit code 1

这些是我正在使用的依赖项

dependencies:
  flutter:
    sdk: flutter
  get: ^4.6.1
  camera: ^0.9.4+5
  tflite: ^1.1.2

任何人都可以帮助我。提前谢谢你。

【问题讨论】:

  • 尝试使用flutter clean 并重建应用程序?
  • 没有build.gradle ...因此不清楚您在说什么。

标签: android flutter tensorflow build.gradle flutter-dependencies


【解决方案1】:

请更新您的 Gradle 版本以及 Gradle 包装器版本。

classpath 'com.android.tools.build:gradle:4.0.0' //4+

【讨论】:

    猜你喜欢
    • 2020-08-11
    • 2021-06-26
    • 2020-03-24
    • 2021-04-09
    • 2023-02-13
    • 2021-10-07
    • 2019-12-05
    • 1970-01-01
    • 2022-01-07
    相关资源
    最近更新 更多