Android 模拟器问题 - 我怎样才能摆脱它 (app:compileDebugaawithJavac) java 访问错误如何快速修复

问题描述

我在模拟器中运行应用程序时遇到问题。当我在我的 android 工作室中点击“运行”(在 Flutter 中编写应用程序)时,我收到这样的通知

出了什么问题: 任务“:app:compileDebugJavaWithJavac”执行失败。

java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x41e0c98c) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler ) 因为模块 jdk.compiler 不会将 com.sun.tools.javac.code 导出到未命名的模块 @0x41e0c98c

有人可以帮我吗,这个问题我已经有 2 天了,我不知道如何运行模拟器。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)