docus icon indicating copy to clipboard operation
docus copied to clipboard

Delete doc

Open islam2hamy opened this issue 3 years ago • 2 comments

FATAL EXCEPTION: pool-1-thread-1 Process: com.bretahajek.docus, PID: 7450 java.lang.NoSuchMethodError: No virtual method toPath()Ljava/nio/file/Path; in class Ljava/io/File; or its super classes (declaration of 'java.io.File' appears in /system/framework/core-oj.jar) at d.a.a.a.b.b(:1) at c.b.a.f.run() at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:760)

Android : 7.1.2 Miui 11.0.2

islam2hamy avatar Mar 29 '22 14:03 islam2hamy

Hi @islam2hamy thanks for pointing this out. It seems to be issue with one of the libraries I use: https://github.com/Breta01/docus/blob/b733a1c76e545c4a000cf160af23adf8d1e72444/app/build.gradle#L84 Based on this issue it seems we should downgrade it to 2.5 (https://stackoverflow.com/questions/56970862/deletedirectory-java-lang-nosuchmethoderror-no-virtual-method-topath).

If you want, you can create a pull request with the fix and I will approve it (You will then be listed as contributor 😉). Or else I will try to fix that soon.

Breta01 avatar Apr 06 '22 03:04 Breta01

Hi @Breta01 , I will wait :)

islam2hamy avatar Apr 06 '22 15:04 islam2hamy