sy_flutter_qiniu_storage icon indicating copy to clipboard operation
sy_flutter_qiniu_storage copied to clipboard

七牛云对象存储SDK,上传大文件,进度监听,取消上传

Results 11 sy_flutter_qiniu_storage issues
Sort by recently updated
recently updated
newest added

报错信息 [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(40)] java.lang.NoSuchMethodError: No static method immutableList(Ljava/util/List;)Ljava/util/List; in class Lokhttp3/internal/Util; or its super classes (declaration of 'okhttp3.internal.Util' appears in /data/app/com.example.younengapp-YCRIaI6uoorfhSuZ47Ap8g==/base.apk) 我是根据你的demon直接拉的,视频可以上传,上传图片就直接奔溃了

I/qiniu (21114): avatar_1_1585386232: 0.95 I/qiniu (21114): avatar_1_1585386232: 1.0 I/qiniu (21114): Upload Success I/qiniu (21114): avatar_1_1585386232, I/qiniu (21114): {ver:7.3.15,ResponseInfo:1585385956489339,status:200, reqId:e9IAAAC1avRgbAAW, xlog:X-Log, xvia:, host:upload.qiniup.com, path:/, ip:223.112.103.88, port:443, duration:130 s, time:1585386232, sent:80713,error:null}, I/qiniu...

请问默认是上传的哪个服务器?可以选择吗?

E/AndroidRuntime(17610): java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: OkHttp https://uc.qbox.me/... E/AndroidRuntime(17610): at io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread(FlutterJNI.java:794) E/AndroidRuntime(17610): at io.flutter.embedding.engine.FlutterJNI.invokePlatformMessageResponseCallback(FlutterJNI.java:727) E/AndroidRuntime(17610): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:140) E/AndroidRuntime(17610): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:225) E/AndroidRuntime(17610):...

求助~~~ ═══════ Exception caught by services library ══════════════════════════════════ MissingPluginException(No implementation found for method listen on channel sy_flutter_qiniu_storage_event) ════════════════════════════════════════════════════════════════════════════════ flutter: 1 [VERBOSE-2:ui_dart_state.cc(166)] Unhandled Exception: MissingPluginException(No implementation found for method upload on...

Xcode's output: ↳ === BUILD TARGET sy_flutter_qiniu_storage OF PROJECT Pods WITH CONFIGURATION Debug === /Users/admin/.pub-cache/hosted/pub.dartlang.org/sy_flutter_qiniu_storage-0.1.4/ios/Classes/SyFlutterQiniuStoragePlugin.m:2:9: error: 'QiniuSDK.h' file not found with include; use "quotes" instead #import ^~~~~~~~~~~~ "QiniuSDK.h" 1 error...

使用sy_flutter_qiniu_storage 这个插件按照官网的demo去上传图片,针对gif格式的图片,上传可以成功,但是动图效果没有了,请问这个是什么原因的,谢谢!

Flutter version: 1.1.5 sy_flutter_qiniu_storage version: 0.1.4 iOS设备 报错信息如下: ![screenshot 2018-12-31 00 00 10](https://user-images.githubusercontent.com/2620575/50548886-18f3d380-0c8f-11e9-92ea-a51901cc5e1e.png) 加上监听进度的函数就不会崩溃了: ``` syStorage.onChanged().listen((dynamic percent) { print(percent); }); ```