我正在学习颤抖,并坚持了3天这个错误。
flutter run
Running "flutter pub get" in expense_planner...
Launching lib\main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Path 'C:\expense_planner\build\app\intermediates\res\merged\debug' is not a readable directory.
* 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 1m 16s
Exception: Gradle task assembleDebug failed with exit code 1
尝试
flutter clean
然后
flutter run
删除并创建了一个新的android模拟器。 仍然没有结果。 任何帮助将不胜感激。
答案 0 :(得分:0)
flutter run
Launching lib\main.dart on AOSP on IA Emulator in debug mode...
✓ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
仍然无法首先找到问题的根源