Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete doc #36

Open
islam2hamy opened this issue Mar 29, 2022 · 2 comments
Open

Delete doc #36

islam2hamy opened this issue Mar 29, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@islam2hamy
Copy link

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

@Breta01 Breta01 added the bug Something isn't working label Apr 6, 2022
@Breta01
Copy link
Owner

Breta01 commented Apr 6, 2022

Hi @islam2hamy thanks for pointing this out. It seems to be issue with one of the libraries I use:

implementation group: 'commons-io', name: 'commons-io', version: '2.6'

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.

@islam2hamy
Copy link
Author

Hi @Breta01 ,
I will wait :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants