function test(){
Java.perform(function () {
var current_application = Java.use('android.app.ActivityThread').currentApplication();
var context = current_application.getApplicationContext();
var path = Java.use("android.content.ContextWrapper").$new(context).getExternalFilesDir("Download").toString()
console.log(path);
var ios = new File(path + "/dudu666.txt", "w");
ios.write("dudu666 is very very good!!!\n");
ios.flush();
ios.close();
})};
setImmediate(function(){
setTimeout(test(), 5000);
});