File apk = new File("D:\\");
File app = new File(apk, "some.apk");
byte[] fileContent = app.getAbsolutePath().getBytes()
dr.pushFile("/mnt/sdcard/",fileContent);
//this is creating a tmp file , but unable to push the apk
File apk = new File("D:\\");
File app = new File(apk, "some.apk");
byte[] fileContent = app.getAbsolutePath().getBytes()
dr.pushFile("/mnt/sdcard/",fileContent);
//this is creating a tmp file , but unable to push the apk
I raised this bug at appium end that pushed file is copied as a temp file and actual pushed file cannot be seen.
But they rejected the issue. You can raise a new issue.
Just for info:- pullFile method work very well, if u need any help in that.
created a new issue