I am having a hard time getting the simulator to build in my Xcode project.
I keep getting the following error:
Command /bin/sh failed with exit code 1
More info:
Showing Recent Issues
/Users/jackryan/Library/Java/JavaVirtualMachines/openjdk-16.0.2/Contents/Home
Looking for gradlew in /Users/jackryan/AndroidStudioProjects/test
Configure project :
Using already downloaded SDK: /Users/jackryan/.moe/moe-sdk-1.7.3
Task :compileJava FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:compileJava’.
java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x58c780ba) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x58c780ba
I have tried a lot of solutions posted on other forums with no success.
Can anyone help?