无法使用我的手机运行Flutter应用。编译时出错

时间:2019-05-11 16:15:55

标签: android flutter

我正在尝试使用默认的Flutter应用来测试我的设备。我正在使用Panasonic移动设备,并在android studio中成功检测到。当我按下运行按钮时发生错误时。

我已经尝试过“干净”了

Launching lib\main.dart on Panasonic ELUGA L2 in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.2.1-4818971-windows Daemon #2: Daemon startup failed
  This should not happen under normal circumstances, please file an issue if it does.

* 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
*******************************************************************************************
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo..gl/CP92wY for more information on the problem and how to fix it.
*******************************************************************************************
Finished with error: Gradle task assembleDebug failed with exit code 1

0 个答案:

没有答案