IA
Hello everyone, please help me, every time I use File classes from java.io I get TypeError: [JavaPackage java.io.File] is not a function, it is an object. Please tell me how to solve this, the same with most of the classes from java.io. Here my code
var file = new java.io.File(Context.getOutputPath() + "\\" + Context.getOutputFile()); var writer = new java.io.FileWriter(file); writer.write("test"); writer.close();