aliossflutter
aliossflutter copied to clipboard
阿里云oss flutter
duplicate symbol '_channel' in: XXX/aliossflutter/libaliossflutter.a(AliossflutterPlugin.o) XXX/fluwx_no_pay/libfluwx_no_pay.a(FluwxPlugin.o) ld: 1 duplicate symbol for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) 去掉 fluwx 可以正常运行
com.alibaba.sdk.android.oss.ClientException: Compute signature failed!
在应用刚打开的时候,调用初始化 String stsPath = UrlPath.baseUrl + UrlPath.stsToken; AliOSSFlutter alioss = AliOSSFlutter(); alioss.init(stsPath, "http://oss-cn-hangzhou.aliyuncs.com"); //监听初始化 alioss.responseFromInit.listen((data){ if(data) { logger.i("阿里云oss初始化成功"); }else{ logger.i("阿里云oss初始化失败"); } }); stsPath是后台提供的一个api接口地址, 接口返回值是: { "StatusCode":200, "AccessKeyId":"STS.NUYs1PG9rDboZ2t2ixzNp2v6n", "AccessKeySecret":"7sZVNpUKeoVKsSLqc3KNpjSJnK2JYUGRfUkH318vYPvq", "Expiration":"2020-06-16T04:49:13Z", "SecurityToken":"CAISlQJ1q6Ft5B2yfSjIr5bsOIvkquZT86CEWBTF1mktdsFc3bOdjDz2IHpJfXloAOAWtf4+mWhW7vwflqJ4T55IQ1Dza8J148yNdb0SoMyT1fau5Jko1beXewHKeSOZsebWZ+LmNqS/Ht6md1HDkAJq3LL+bk/Mdle5MJqP+/EFA9MMRVv6F3kkYu1bPQx/ssQXGGLMPPK2SH7Qj3HXEVBjt3gb6wZ24r/txdaHuFiMzg+46JdM+9uoeML6P5c9YMwmD43t5oEsKPqdihw3wgNR6aJ7gJZD/Tr6pdyHCzFTmU7cbrOEqoQ/fFQjN/ViRfYe8eKPnPl5q/HVkJ/s1xFOMOdaXiLSXom8x9HeH+ekJkKpo0k4kdKnGoABsC0SQVCTHsxSX94BfTgkz59fRKZbur81anIU9AdqwW+/5ZOpaXgwlmIFMgtOg/DVb2O+ThRQFLag5aGImGX8AhrE7GIpaPeaTvzPbE8S0f5yG/0j5YJToZd4Sne3cY2otPPocru40iOXqj1Yf5j8JPewISZ/+ReqY0nm7t+Ykfw="...
flutter build apk打包报错,大佬看看是怎么回事? ![image](https://user-images.githubusercontent.com/27131698/102972138-8dd40e00-4535-11eb-957d-20148fe364c2.png) ` FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':aliossflutter:verifyReleaseResources'. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > Android resource...
1.安卓init方法在主线程请求网络 2.iOS调用init方法的时候,没有调用错误回调(安卓端还没看) 我fork出去自己先改着用了,作者看到了有时间可以修改一下
Access Key Id you provided does not exist in our records 用secretInit 初始化上传 包这错
作者大大,我看你代码里面的版本是0.0.5,但是pub里面的版本还是0.0.4,是不是没发布?
因为aliossflutter使用还有点问题,所以我在项目里面把aliossflutter相关的代码就先注释掉了 包括在pubspec.yaml里面的,也注释了,现在在ios上准备打包 执行: pod update --verbose --no-repo-update 时报错: Fetching external sources -> Fetching podspec for `Flutter` from `Flutter` -> Fetching podspec for `aliossflutter` from `.symlinks/plugins/aliossflutter/ios` [!] No podspec found for...
E:\work\app>flutter build apk You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64. If you are deploying the app to the Play Store, it's recommended to use...