Giter Site home page Giter Site logo

flutter_qiniu's People

Contributors

guiminchu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flutter_qiniu's Issues

IOS pod报错

Resolving dependencies of Podfile
[!] CocoaPods could not find compatible versions for pod "flutter_qiniu":
In Podfile:
flutter_qiniu (from .symlinks/plugins/flutter_qiniu/ios)

这是啥意思

[!] Unable to determine Swift version for the following pods:

  • 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版本号,我们自己添加会被自动修改掉,来回修改非常麻烦,谢谢,祝工作顺利!

七牛官方框架问题提示(Android)

七牛从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

iso编译报错

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.

ios报错

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.