我试图在Flutter中运行应用程序,但遇到了此错误。有人能帮忙吗?
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @7bcea5fe0
* 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
1条答案
按热度按时间0yg35tkg1#
我刚想出了解决办法我所做的就是
gradle.properties
文件查看此链接:如何解决InaccessibleObjectException(“无法使{member}可访问:module {A} does not 'open {package}' to {B}”)。