插件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
1条答案
按热度按时间wz8daaqr1#
将其添加到
android/setting.gradle
中