日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

【错误记录】Flutter 混合开发报错 ( java.nio.file.FileSystemException: xxx/R.jar: 另一个程序正在使用此文件,进程无法访问。 )

發布時間:2025/6/17 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【错误记录】Flutter 混合开发报错 ( java.nio.file.FileSystemException: xxx/R.jar: 另一个程序正在使用此文件,进程无法访问。 ) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

文章目錄

  • 一、 報錯信息
  • 二、 解決方案





一、 報錯信息



Flutter 混合開發項目 : 在 Android 項目中 , 嵌入了 Flutter 頁面 , 不小心運行了下 Flutter 項目 , 導致 Android 的 Native 項目運行出現如下報錯 ;

FAILURE: Build failed with an exception.* What went wrong: Execution failed for task ':flutter:generateDebugRFile'. > java.nio.file.FileSystemException: Y:\002_WorkSpace\001_AS\flutter_hybrid\flutter_module\.android\Flutter\build\intermediates\compile_r_class_jar\debug\R.jar: 另一個程序正在使用此文件,進程無法訪問。* 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.orgDeprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warningsBUILD FAILED in 39s 41 actionable tasks: 16 executed, 25 up-to-date





二、 解決方案



關閉 Flutter 項目 , 即可解決上述問題 ;

總結

以上是生活随笔為你收集整理的【错误记录】Flutter 混合开发报错 ( java.nio.file.FileSystemException: xxx/R.jar: 另一个程序正在使用此文件,进程无法访问。 )的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。