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

Save image error : No such file or directory #28

Closed
maxcong opened this issue May 18, 2019 · 3 comments
Closed

Save image error : No such file or directory #28

maxcong opened this issue May 18, 2019 · 3 comments

Comments

@maxcong
Copy link

maxcong commented May 18, 2019

W/System.err( 6526): java.io.FileNotFoundException: /storage/emulated/0/jiupai/1558158842041.png (No such file or directory) W/System.err( 6526): at java.io.FileOutputStream.open0(Native Method) W/System.err( 6526): at java.io.FileOutputStream.open(FileOutputStream.java:308) W/System.err( 6526): at java.io.FileOutputStream.<init>(FileOutputStream.java:238) W/System.err( 6526): at java.io.FileOutputStream.<init>(FileOutputStream.java:180) W/System.err( 6526): at com.example.imagegallerysaver.ImageGallerySaverPlugin.saveImageToGallery(ImageGallerySaverPlugin.kt:48) W/System.err( 6526): at com.example.imagegallerysaver.ImageGallerySaverPlugin.onMethodCall(ImageGallerySaverPlugin.kt:32) W/System.err( 6526): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:222) W/System.err( 6526): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:90) W/System.err( 6526): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:234) W/System.err( 6526): at android.os.MessageQueue.nativePollOnce(Native Method) W/System.err( 6526): at android.os.MessageQueue.next(MessageQueue.java:326) W/System.err( 6526): at android.os.Looper.loop(Looper.java:160) W/System.err( 6526): at android.app.ActivityThread.main(ActivityThread.java:6669) W/System.err( 6526): at java.lang.reflect.Method.invoke(Native Method) W/System.err( 6526): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) W/System.err( 6526): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

@xainpro
Copy link

xainpro commented Jul 15, 2019

any solution yet ?

@HannibalKcc
Copy link

issue 13 ?

@xqqlv xqqlv closed this as completed Aug 22, 2019
@xqqlv
Copy link
Collaborator

xqqlv commented Aug 22, 2019

using https://github.com/BaseflowIT/flutter-permission-handler to handle permission

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

No branches or pull requests

4 participants