File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 13
13
# Wed Dec 30 11:02:34 EST 2020
14
14
android.enableJetifier =true
15
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
You can’t perform that action at this time.
0 commit comments