We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Exception: FileSystemException: Cannot open file, path = '/data/user/0/com.example.im_flutter/cache/Android.jpg/img_1571561019173.jpg' (OS Error: No such file or directory, errno = 2)
The text was updated successfully, but these errors were encountered:
print("图片原始大小:${image.length()}"); print("图片输出路径:$outPath"); CompressObject object = CompressObject( imageFile: image, path: outPath, quality: 85, step: 9, mode: CompressMode.LARGE2SMALL ); String path = await Luban.compressImage(object);
Sorry, something went wrong.
我找到原因了 我的输出路径搞错了
No branches or pull requests
[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Exception: FileSystemException: Cannot open file, path = '/data/user/0/com.example.im_flutter/cache/Android.jpg/img_1571561019173.jpg' (OS Error: No such file or directory, errno = 2)
The text was updated successfully, but these errors were encountered: