Replies: 2 comments 2 replies
-
Like I said in your issue, judging from this log line |
Beta Was this translation helpful? Give feedback.
2 replies
-
If you are using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
dio
Version
4.0.6
Dio dio = Dio();
return await dio.download('http://xxx.xxx.xxx.xxx:8080/wav/2007011783233556_176_2369.mp3', '$_selectedDirectory/xx.mp3',
onReceiveProgress: (int loaded, int total) {
// print("下载进度:" +
// NumUtil.getNumByValueDouble(loaded / total * 100, 2)
// .toStringAsFixed(2) +
// "%");
});
Expected Result
file would be downloaded.
Actual Result
2024-03-18 15:33:40.445435+0800 Runner[679:37650] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
2024-03-18 15:33:43.306904+0800 Runner[679:37650] “audio” couldn’t be moved because you don’t have permission to access “tmp”.
2024-03-18 15:33:43.307832+0800 Runner[679:37650] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
*** First throw call stack:
(0x1a1cf157c 0x19afed050 0x1a1e8042c 0x1a1d0184c 0x100d02c58 0x1a444fb9c 0x1a3edbd8c 0x1a437fed0 0x1a3f135d4 0x1a3f146e4 0x1a3f14334 0x1a4bdd6c8 0x1a3d47030 0x1a3d45fe4 0x1a3d457f0 0x1a3d458f0 0x1a3195ee4 0x1019697a0 0x10197834c 0x101977fa4 0x1a1d79b1c 0x1a1d5d7b8 0x1a1d61e90 0x1d8e79998 0x1a3ff2bb8 0x1a3ff2830 0x100265dc4 0x1bf467344)
libc++abi: terminating due to uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
terminating due to uncaught exception of type NSException
(lldb)
anyone know how to solve the above problem.Thank you
Beta Was this translation helpful? Give feedback.
All reactions