on-internet
← Community

How to fix the ''module java.base does not "opens java.io" to unnamed module '' error in Android Studio?

Stack Overflow ·

Background I started my first project in android studio to get familiar with Android programming. I am following this tutorial, in which I created a new project Empty Activity, without any change It is supposed to simulate a simple app that shows "Hello World" message Problem Description But every time I try to run and build (I want to emulator as of now), I get the following error message. Unable to make field private final java.lang.String java.io.File.path accessible: Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io"

Comments

Sign in or sign up to comment and upvote.

No comments yet.