I need to modify the file that I show you below:
I have tried several ways but I always get an error. I leave the following code to know what I'm failing. Thank you very much.
try{
FileOutputStream archivo= new FileOutputStream("assets/prueba.json",true);
archivo.write("hola".getBytes());
} catch (IOException e) {
e.printStackTrace();
}