簡體   English   中英

Flutter 構建失敗並出現異常(任務 ':app:processDebugMainManifest' 執行失敗)

[英]Flutter build failed with an exception ( Execution failed for task ':app:processDebugMainManifest')

我將 flutter 升級到最新版本,使用 vscode 創建了一個新的 flutter 項目並復制了所需的文件和修改。 然后當我嘗試在模擬器上運行我的代碼時,我得到以下信息:

在調試模式下啟動 lib\main.dart on sdk gphone x86 arm... lib\main.dart:1

失敗:構建失敗,出現異常。

  • 出了什么問題:任務 ':app:processDebugMainManifest' 執行失敗。

com.android.manifmerger.ManifestMerger2$MergeFailureException: java.io.FileNotFoundException: F:\Muaz\Programming\Flutter\earn_finance_gold_currency\build\integration_test\intermediates\library_manifest\debug\AndroidManifest.xml (The system cannot find the file specified)

我認為 Integration_test 是新的,因為我以前從未見過它。 我可以刪除它嗎? 任何其他已知的修復? 謝謝。

升級版本 android。

android/build.gradle

安卓/gradle/wrapper/gradle-wrapper.properties

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM