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

crash when I click send requset on android 11 #262

Closed
2 tasks done
pzcn opened this issue Mar 2, 2021 · 2 comments
Closed
2 tasks done

crash when I click send requset on android 11 #262

pzcn opened this issue Mar 2, 2021 · 2 comments

Comments

@pzcn
Copy link

pzcn commented Mar 2, 2021

  • I have verified there are no duplicate active or recent bugs, questions, or requests
  • I have verified that I am using the latest version.

Device/App info:

  • Blueprint Version: 2.1.6
  • Android version: 11
  • Device Manufacturer: Xiaomi&zuk
  • Device Name: xiaomi10&zuk z2

Describe the bug

when I submit icon request, the app will fc. I tried it twice on two different Android 11 devices. This happens on Android 11 devices. but works well on android 10.

Reproduction Steps

1.click send requset on android 11

Expected behavior

get a zip and ready to send but crashed

Code and/or Logs

java.io.FileNotFoundException: /storage/emulated/0/Documents/icons/Requests/appfilter_20210302_212227.xml: open failed: ENOENT (No such file or directory)
 at libcore.io.IoBridge.open(IoBridge.java:492)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:236)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:186)
 at dev.jahir.blueprint.extensions.FileKt.saveAll(Unknown Source:10)
 at dev.jahir.blueprint.extensions.FileKt.saveAll(Unknown Source:29)
 at dev.jahir.blueprint.data.requests.SendIconRequest$buildTextFiles$2.invokeSuspend(:6)
 at dev.jahir.blueprint.data.requests.SendIconRequest$buildTextFiles$2.invoke(Unknown Source:10)
 at f.c.k.p$i.T1(Unknown Source:9)
 at f.c.k.p$i.n2(:3)
 at dev.jahir.blueprint.data.requests.SendIconRequest.buildTextFiles(:2)
 at dev.jahir.blueprint.data.requests.SendIconRequest$zipFiles$2.invokeSuspend(:18)
 at i.l.j.a.a.resumeWith(:2)
 at e.a.g0.run(Unknown Source:72)
 at e.a.s1.a.A(Unknown Source:0)
 at e.a.s1.a$a.run(:5)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
 at libcore.io.Linux.open(Native Method)
 at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
 at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)
 at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
 at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7934)
 at libcore.io.IoBridge.open(IoBridge.java:478)
 ... 14 more

Additional context

@welcome
Copy link

welcome bot commented Mar 2, 2021

Thanks for opening your first issue here 😃! Please be sure to follow the issue template and check the contribution guidelines 😉 (otherwise the issue will be ignored 😕).

@RandleP
Copy link

RandleP commented Apr 24, 2021

Received an error message from an user, probably same issue

Screenshot_20210424-072209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants