【发布时间】:2021-05-17 19:02:40
【问题描述】:
我想使用(VSCode 或 Android Studio)运行 Flutter 应用程序,我都收到此错误:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> java.io.IOException: The device is not ready
* 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
有什么解决办法吗?
【问题讨论】: