ganzhixiong / gzxtaobaoappflutter Goto Github PK
View Code? Open in Web Editor NEWFlutter淘宝App,支持iOS、Android
License: Apache License 2.0
Flutter淘宝App,支持iOS、Android
License: Apache License 2.0
拉取代码后,提示dart sdk版本>=2.1.0<3.0.0 才行,我在vscode运行失败了,是需要 flutter工具包的版本在 >=2.1.0<3.0.0 范围吗??
地址:https://github.com/WangCharlie/douyin
但是桌面面播放器出不来,你有试过播放器windows上能跑得起来吗?
Launching lib\main.dart on Redmi 4A in debug mode...
Running Gradle task 'assembleDebug'...
Compiler message:
../../../development/flutter_windows_v1.12.13+hotfix.8-stable_2/.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-0.8.0/lib/src/cached_network_image_provider.dart:42:24: Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
ImageStreamCompleter load(CachedNetworkImageProvider key) {
^
../../../development/flutter_windows_v1.12.13+hotfix.8-stable_2/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
FAILURE: Build failed with an exception.
* Where:
Script 'E:\enzo\development\flutter_windows_v1.12.13+hotfix.8-stable_2\packages\flutter_tools\gradle\flutter.gradle' line: 780
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'E:\enzo\development\flutter_windows_v1.12.13+hotfix.8-stable_2\bin\flutter.bat'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 31s
Finished with error: Gradle task assembleDebug failed with exit code 1
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18362.720], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[√] Android Studio (version 3.6)
[!] VS Code (version 1.44.0)
X Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (1 available)
好像是因为cpu架构不支持。然后想安装你自己打的apk,但下载链接又出问题。所以还没有真机看过是什么样子的。
楼主真厉害,项目功能很完整,但是在做的时候遇到点问题,望楼主帮忙看一下(楼主的项目也会出现)。就是在用appbar+FlexibleSpaceBar+tabbar+tabbarview显示首页的内容的时候,如果FlexibleSpaceBar的内容比较多,页面向上滑动的时候,还没到显示tabbar,但是这时候商品列表已经开始滑动了,等到滑动到tabbar的时候,商品列表显示的已经不是第一个item了。楼主可以尝试加多FlexibleSpaceBar的内容就会出现这种情况,尤其是一开始先快速滑动,后面再慢慢滑动到tabbar,情况更明显
最好能支持m3u8,直播等功能的插件推荐?
谢谢
等着老哥 代码开源
一左滑关闭,就崩溃了
我直接用vscode flutter run行吗,大神指点下谢谢
没有二维码显示
Compiler message:
../../.pub-cache/hosted/pub.flutter-io.cn/dio-2.2.2/lib/src/dio_http_headers.dart:55:8: Error: The method 'DioHttpHeaders.add' has fewer named arguments than those of overridden method 'HttpHeaders.add'.
void add(String name, value) {
^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:694:8: Context: This is the overridden method ('add').
void add(String name, Object value,
^
../../.pub-cache/hosted/pub.flutter-io.cn/dio-2.2.2/lib/src/dio_http_headers.dart:70:8: Error: The method 'DioHttpHeaders.set' has fewer named arguments than those of overridden method 'HttpHeaders.set'.
void set(String name, Object value) {
^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:703:8: Context: This is the overridden method ('set').
void set(String name, Object value,
^
../../.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-0.8.0/lib/src/cached_network_image_provider.dart:42:24: Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
ImageStreamCompleter load(CachedNetworkImageProvider key) {
^
../../flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
FAILURE: Build failed with an exception.
Could not resolve all artifacts for configuration ':connectivity:classpath'.
Could not download guava.jar (com.google.guava:guava:26.0-jre)
> Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/26.0-jre/guava-26.0-jre.jar'.
> Read timed out
Could not download kotlin-reflect.jar (org.jetbrains.kotlin:kotlin-reflect:1.3.11)
> Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.3.11/kotlin-reflect-1.3.11.jar'.
> Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.3.11/kotlin-reflect-1.3.11.jar'.
> Received close_notify during handshake
Could not download kotlin-stdlib.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.11)
> Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.3.11/kotlin-stdlib-1.3.11.jar'.
> Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.3.11/kotlin-stdlib-1.3.11.jar'.
> Received close_notify during handshake
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 1m 26s
Exception: Gradle task assembleDebug failed with exit code 1
首页 body TabView内容显示问题
例如:点击第三个tab,第二个TabView的内容会显示为第一个TabView的内容
不知道是我个人原因还是大家都这样,其他项目没问题但是这个项目package get的时候毫无进度,有没有其他同学get成功的?
请问这个支持筛选的多选功能吗
为什么我的小米max3特别的卡顿?完全没有rn 流畅?
遇到一个非常奇怪的问题,我在HomePage的build方法中返回自己的一个UI布局,在布局中有个点击事件,跳转到下一个页面。过程:进入首页,点击首页中的按钮跳转到下一个页面,再返回到首页,这时候切换底部导航栏的另外一个tab,再返回来,HomePage就丢失了状态(重新执行了initState方法)。其它的地方全都没改动,只是在HomePage中返回自定义的UI布局,而楼主的自己的UI布局是没有这个问题的,请问一下楼主在这个HomePage的状态保持是不是有特殊的处理?或者对于这个问题有没有什么处理办法?
请问一下签名文件没找到key/key.jks,在哪里可以下载呢
1.2.0版本以上的,建议注释掉 defaultConfig 里面的ndk;
如题
我猜测是不是图片加载过多,内存暴涨了,滚动掉帧;高配手机上又相对好点;
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.