How can I specify the path to the desired file? I Have a .txt file in the assets directory (below main directory).
try {
readDataFromFile = new String(Files.readAllBytes((Paths.get("secondlevel.txt"))));
} catch (IOException e) {
e.printStackTrace();
}
How can I get the correct path?