Android XML file doesn't save
- by Shane
I'm writing a game with LibGDX, and I'm trying to save an XML file, but there's always an exception (java.io.FileNotFoundException: /data/Slugfest/teams/Team1.xml: open failed: ENOENT (No such file or directory)) when saving the file. This code saves the file.
public void save() {
try {
TransformerFactory transformerFactory =…