We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5078f1 commit f78e7a0Copy full SHA for f78e7a0
1 file changed
debug/gradle.properties
@@ -13,3 +13,9 @@
13
#Wed Dec 30 11:02:34 EST 2020
14
android.enableJetifier=true
15
android.useAndroidX=true
16
+
17
+# Line to fix the ''module java.base does not "opens java.io" to unnamed module '' error in Android Studio:
18
+# https://stackoverflow.com/questions/67782975/how-to-fix-the-module-java-base-does-not-opens-java-io-to-unnamed-module
19
+# Probably not needed if using a version of the Android Gradle Plugin compatible with the JDK:
20
+# https://docs.gradle.org/current/userguide/compatibility.html
21
+org.gradle.jvmargs=-Xmx1536M --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
0 commit comments