guiminchu / flutter_qiniu Goto Github PK
View Code? Open in Web Editor NEWA new flutter plugin project for Qiniu.
License: Other
A new flutter plugin project for Qiniu.
License: Other
Resolving dependencies of `Podfile`
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
CDN: trunk Relative path: all_pods_versions_c_7_9.txt exists! Returning local because checking is only perfomed in repo update
CDN: trunk Relative path: Specs/c/7/9/Reachability/3.2/Reachability.podspec.json exists! Returning local because checking is only perfomed in repo update
[!] CocoaPods could not find compatible versions for pod "flutter_qiniu":
In Podfile:
flutter_qiniu (from `.symlinks/plugins/flutter_qiniu/ios`)
Specs satisfying the `flutter_qiniu (from `.symlinks/plugins/flutter_qiniu/ios`)` dependency were found, but they required a higher minimum deployment target.
flutter_qiniu
does not specify a Swift version and none of the targets (Runner
) integrating it have the SWIFT_VERSION
attribute set. Please contact the author or set the SWIFT_VERSION
attribute in at least one of the targets that integrate this pod.作者你好,请在.podspec文件中加上swift版本号,我们自己添加会被自动修改掉,来回修改非常麻烦,谢谢,祝工作顺利!
flutter_qiniu
does not specify a Swift version and none of the targets (Runner
) integrating it have the SWIFT_VERSION
attribute set. Please contact the author or set the SWIFT_VERSION
attribute in at least one of the targets that integrate this pod.
,小于200kb的文件 经常获取不到resultkey,不知道怎么解决
Resolving dependencies of Podfile
[!] CocoaPods could not find compatible versions for pod "flutter_qiniu":
In Podfile:
flutter_qiniu (from .symlinks/plugins/flutter_qiniu/ios
)
这是啥意思
七牛从7.3.13起移除了 happy-dns,而本插件使用的依赖方式为:implementation 'com.qiniu:qiniu-android-sdk:7.3.+' , 这个 "+" 会让所依赖的框架升级到最新。android8 会闪退。
我目前通过将框架版本写死,来解决这个问题:implementation 'com.qiniu:qiniu-android-sdk:7.3.12'
出现这个问题,不是本框架的失误,而是七牛开发者不够严谨,当版本不兼容时,应该改变大版本号或中版本号的,但是七牛开发者没改。
参考:https://developer.qiniu.com/kodo/sdk/1236/android
推荐使用最新版,7.3.13 及以上版本。
从 7.3.13 开始,不在强制依赖 happy-dns-android,默认不再提供 httpDns,可以调用 Configuration.Builder#dns(com.qiniu.android.http.Dns)方法设置外部 Dns,自定义 Dns 要求实现 com.qiniu.android.http.Dns 接口。
如果可以明确 区域 的话,最好指定固定区域,这样可以少一步网络请求,少一步出错的可能。
报错信息
[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) @GuiminChu
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.