gradle 评估项目“:honeywell_scanner”时出现问题

y0u0uwnf  于 2023-01-13  发布在  其他
关注(0)|答案(1)|浏览(129)

插件flutter_absolute_path使用了Android嵌入的过时版本。为了避免意外的运行时失败,或未来的构建失败,请尝试查看此插件是否支持Android V2嵌入。否则,请考虑删除它,因为Flutter的未来版本将删除这些过时的API。如果您是插件作者,请查看将插件迁移到V2嵌入的文档:https://flutter.dev/go/android-plugin-migration。正在调试模式下在针对x86构建的Android SDK上启动lib/main.dart...正在运行Gradle任务“assembleDebug...”

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/ddo/development/flutter/.pub-cache/hosted/pub.dartlang.org/honeywell_scanner-3.2.0+13/android/build.gradle' line: 45

* What went wrong:
A problem occurred evaluating project ':honeywell_scanner'.
> Project with path ':honeywell' could not be found in project ':honeywell_scanner'.

* 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

构建在11 s内失败,异常:Gradle任务assembleDebug失败,退出代码为1

wz8daaqr

wz8daaqr1#

将其添加到android/setting.gradle

include ':app' // it should be there

include ':honeywell' // add this

相关问题