huangruilearn / flutter_hrlweibo Goto Github PK
View Code? Open in Web Editor NEWFlutter仿微博客户端, 包含首页、视频、发现、消息(仿微博聊界面)及个人中心模块
Flutter仿微博客户端, 包含首页、视频、发现、消息(仿微博聊界面)及个人中心模块
测试账号没有一个能用的?
Flutter 1.22.4
Dart 2.10.4
上次更新是九个月前。
这就是所谓的“会持续更新完善这个项目”?
将项目flutter调到最新的flutter版本null safe后,登陆接口报404
FAILURE: Build failed with an exception.
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not resolve androidx.window:window:[1.0.0-beta04].
Required by:
project :app > project :audioplayers > io.flutter:flutter_embedding_debug:1.0.0-ab46186b246f5a36bd1f3f295d14a43abb1e2f38 > androidx.window:window-java:1.0.0-beta04
> Failed to list versions for androidx.window:window.
> Unable to load Maven meta-data from https://google.bintray.com/exoplayer/androidx/window/window/maven-metadata.xml.
> Could not get resource 'https://google.bintray.com/exoplayer/androidx/window/window/maven-metadata.xml'.
> Could not GET 'https://google.bintray.com/exoplayer/androidx/window/window/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
连接不上了
212.64.95.5:8080/hrlweibo/
做的挺有意思的
运行以后报错,请问大神这是什么原因
`Launching lib/main.dart on sdk gphone x86 in debug mode...
FAILURE: Build failed with an exception.
Could not resolve all artifacts for configuration ':classpath'.
Could not resolve com.android.tools:dvlib:26.3.1.
Required by:
project : > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1
> Could not resolve com.android.tools:dvlib:26.3.1.
> Could not get resource 'https://maven.aliyun.com/repository/google/com/android/tools/dvlib/26.3.1/dvlib-26.3.1.pom'.
> Could not GET 'https://maven.aliyun.com/repository/google/com/android/tools/dvlib/26.3.1/dvlib-26.3.1.pom'.
> Read timed out
BUILD FAILED in 3m 37s
Exited (sigterm)
Exception: Gradle task assembleDebug failed with exit code 1
`
[!] Invalid `Podfile` file: cannot load such file -- /Users/didi/Documents/Flutter/flutter/packages/flutter_tools/bin/podhelper.
# from /Users/didi/Downloads/flutter_hrlweibo-master/ios/Podfile:26
# -------------------------------------------
#
> require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
#
# -------------------------------------------
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/podfile.rb:301:in `rescue in block in from_ruby'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/podfile.rb:295:in `block in from_ruby'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/podfile.rb:50:in `instance_eval'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/podfile.rb:50:in `initialize'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/podfile.rb:293:in `new'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/podfile.rb:293:in `from_ruby'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/podfile.rb:259:in `from_file'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/config.rb:200:in `podfile'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:150:in `verify_podfile_exists!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:46:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'
Exception: Error running pod install
Can you make a chat app with BLoC arch
该应用开发者未完成实名认证信息,已暂停下载。
ios 13.5
flutter 1.17.4
RecordButton widget的var recording = await FlutterRecordPlugin.stop();函数报错:
MissingPluginException(No implementation found for method hasPermissions on channel flutter_record_plugin)
放弃了放弃了。
Compiler message:
/C:/soft/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-2.1.0/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,
^
/C:/soft/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-2.1.0/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,
^
Compiler message:
/C:/soft/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-2.1.0/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,
^
/C:/soft/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-2.1.0/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,
^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
FAILURE: Build failed with an exception.
Where:
Script 'C:\soft\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'C:\soft\flutter\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 9s
Exception: Gradle task assembleDebug failed with exit code 1
你好,刚看到你这个微博客户端的项目感觉做的很棒
我这手头上正好有个内容社区的事情,感觉你这大部分功能都能用上,不知道是否有兴趣
如果感兴趣的话咱们可以进一步沟通一下需求和价钱
谢谢~
flutter 版本3.7.7 dart 3.6
无法运行到iOS真机,会有报错,或者是白屏
希望能升级到Flutter 最新版
1、环境flutter 1.17.3
2、fluro: ^1.5.1 改为 fluro: 1.5.1,^会升级到1.5.x最高版本
3、改 Router.dart 41行,返回值bool 改为 void
void pop(BuildContext context) => Navigator.pop(context);
`
../../.pub-cache/hosted/pub.flutter-io.cn/extended_text_field-1.0.1/lib/src/extended_editable_text.dart:759:7: Error: The non-abstract class 'ExtendedEditableTextState' is missing implementations for these members:
class ExtendedEditableTextState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/services/text_input.dart:769:21: Context: 'TextInputClient.currentAutofillScope' is defined here.
AutofillScope get currentAutofillScope;
^^^^^^^^^^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/services/text_input.dart:784:8: Context: 'TextInputClient.showAutocorrectionPromptRect' is defined here.
void showAutocorrectionPromptRect(int start, int end);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Automatically signing iOS for device deployment using specified development team in Xcode project: UF54R9VSBX
../../.pub-cache/hosted/pub.flutter-io.cn/extended_text_field-1.0.1/lib/src/extended_editable_text.dart:1850:29: Error: Getter not found: 'obscuringCharacter'.
text = RenderEditable.obscuringCharacter * text.length;
^^^^^^^^^^^^^^^^^^
`
这是什么原因呢? 我更新了 extended_text_field
成最新的版本,也不行。 flutter 版本是1.18.0
The plugin flutter_record_plugin
uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
FAILURE: Build failed with an exception.
Where:
Build file '/Users/dufangyi/dufangyi/Language/Flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers_android-2.0.0/android/build.gradle' line: 28
What went wrong:
A problem occurred evaluating project ':audioplayers_android'.
org/gradle/api/services/BuildService
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 2s
Exception: Gradle task assembleDebug failed with exit code 1
您好,可以分享份后台源码吗?谢谢
error: 'Router' isn't a function. (invocation_of_non_function at [flutter_hrlweibo] lib\main.dart:27)
l转态栏有问题,未配置隐私权限打开相册崩溃,好几处push后,无法返回
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.