An open source Github client App developed by Flutter

Overview

Github Actions GitHub stars GitHub forks GitHub issues GitHub license

English Readme

一款跨平台的开源Github客户端App,提供更丰富的功能,更好体验,旨在更好的日常管理和维护个人Github,提供更好更方便的驾车体验~~Σ( ̄。 ̄ノ)ノ。项目涉及各种常用控件、网络、数据库、设计模式、主题切换、多语言、Redux等。在开发学习过程中,提供丰富的同款对比:

公众号 掘金 知乎 CSDN 简书
GSYTech 点我 点我 点我 点我
基于Flutter开发,适配 Android 与 iOS。

项目的目的是为方便个人日常维护和查阅Github,更好的沉浸于码友之间的互基,Github就是你的家。

项目同时适合Flutter的练手学习,覆盖了各种框架的使用,与原生的交互等。

随着项目的使用情况和反馈,将时不时根据更新并完善用户体验与功能优化吗,欢迎提出问题。


须知

因为是偏学习项目,所以项目里会有各式各样的模式、库、UI等,请不要介意

1、 TrendPage : 目前采用纯 bloc 的 rxdart(stream) + streamBuilder 模式效果

2、 Scoped Model:目前在 RepositoryDetailPage 出使用

3、 Redux:目前在 MyPage ,UserInfo、Theme、Localization 等上面使用。

4、 LoginPage:另类的 BLoC 模式。

5、 ReposDao.getRepositoryDetailDao 使用 graphQL

列表显示有多个,其中:

1、gsy_pull_load_widget.dart.dart common_list_page.dart 等使用,搭配 gsy_list_state.dart 使用

2、gsy_pull_new_load_widget.dart.dart dynamic_page.dart 等使用,搭配 gsy_bloc_list_state.dart 使用 有 iOS 和 Android 两种风格下拉风格支持

3、gsy_nested_pull_load_widget.dart trend_page.dart 等使用,配置sliver 效果

相关文章


编译运行流程

1、配置好Flutter开发环境(目前Flutter SDK 版本 2.8),可参阅 【搭建环境】

2、clone代码,执行Packages get安装第三方包。(因为某些不可抗力原因,国内可能需要设置代理: 代理环境变量)

3、重点:你需要自己在lib/common/config/目录下 创建一个ignoreConfig.dart文件,然后输入你申请的Github client_id 和 client_secret。

 class NetConfig {
   static const CLIENT_ID = "xxxx";
 
   static const CLIENT_SECRET = "xxxxxxxxxxx";
 }

  注册 Github APP 传送门,当然,前提是你现有一个github账号(~ ̄▽ ̄)~ 。

4、如果使用安全登录(授权登录),那么在上述注册 Github App 的 Authorization callback URL 一栏必须填入 gsygithubapp://authed

5、运行之前请注意下

1、本地 Flutter SDK 版本 2.8 ; 2、是否执行过 flutter pub get;3、 网络等问题参考: 如果出现登陆失败或者请求失败

下载

Apk下载链接: Apk下载链接

类型 二维码
Apk二维码
iOS暂无下载

项目结构图

常见问题

示例图片

第三方框架

当前 Flutter SDK 版本 2.8

功能
dio 网络框架
shared_preferences 本地数据缓存
fluttertoast toast
flutter_redux redux
device_info 设备信息
connectivity 网络链接
flutter_markdown markdown解析
json_annotation json模板
json_serializable json模板
url_launcher 启动外部浏览器
iconfont 字库图标
share 系统分享
flutter_spinkit 加载框样式
get_version 版本信息
flutter_webview_plugin 全屏的webview
sqflite 数据库
flutter_statusbar 状态栏
flutter_svg svg
photo_view 图片预览
flutter_slidable 侧滑
flutter_cache_manager 缓存管理
path_provider 本地路径
permission_handler 权限
scope_model 状态管理和共享
lottie svg动画
flare 路径动画

进行中:

版本更新说明

LICENSE

CarGuo/GSYGithubAppFlutter is licensed under the
Apache License 2.0

A permissive license whose main conditions require preservation of copyright and license notices. 
Contributors provide an express grant of patent rights. 
Licensed works, modifications, and larger works may be distributed under different terms and without source code.

Comments
  • cocoapods 报错

    cocoapods 报错

    Launching lib/main.dart on iPhone Xʀ in debug mode... CocoaPods' output: ↳ [!] Invalid Podfile file: invalid byte sequence in US-ASCII. # from /Users/l_wcx/Desktop/我的代码/gitHub/GSYGithubAppFlutter/ios/Podfile:15 # ------------------------------------------- # File.foreach(file_abs_path) { |line| > next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ } # plugin = line.split(pattern=separator) # ------------------------------------------- /Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:301:in rescue in block in from_ruby' /Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:295:inblock in from_ruby' /Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:50:in instance_eval' /Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:50:ininitialize' /Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:293:in new' /Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:293:infrom_ruby' /Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:259:in from_file' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/config.rb:199:inpodfile' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command.rb:150:in verify_podfile_exists!' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command/install.rb:45:inrun' /Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in run' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command.rb:52:inrun' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/bin/pod:55:in <top (required)>' /usr/local/bin/pod:23:inload' /usr/local/bin/pod:23:in `

    ' Error output from CocoaPods: ↳ WARNING: CocoaPods requires your terminal to be using UTF-8 encoding. Consider adding the following to ~/.profile: export LANG=en_US.UTF-8

    Error running pod install Error launching application on iPhone Xʀ. Exited (sigterm)

    opened by CoderLwcXing 12
  • 404 error

    404 error

    unable to register. maybe I'm doing something wrong. but you can make an automatic request for access to your account as in the openhub or octodroid. there you don’t even need to enter anything because I was already logged in to the browser (but gsy doesn't seem to see it) and just granted access.

    opened by andsofine 9
  • 报错了,求助

    报错了,求助

    • Error running Gradle: ProcessException: Process "C:\Users\Administrator\Desktop\GSYGithubAppFlutter-master\android\gradlew.bat" exited abnormally:

    Configure project :flutter_statusbar

    Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

    FAILURE: Build failed with an exception.

    • What went wrong: A problem occurred configuring project ':flutter_statusbar'.

    Could not resolve all artifacts for configuration ':flutter_statusbar:classpath'. Could not find lombok-ast.jar (com.android.tools.external.lombok:lombok-ast:0.2.3). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.jar

    • 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 0s Command: C:\Users\Administrator\Desktop\GSYGithubAppFlutter-master\android\gradlew.bat app:properties

    Finished with error: Please review your Gradle project setup in the android/ folder.

    opened by 252162875 8
  • 编译不起来   环境  win10    flutter 3.0.0

    编译不起来 环境 win10 flutter 3.0.0

    1653730907(1)

    /D:/SDKSpace/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_redux-0.9.0/lib/flutter_redux.dart:474:22: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.

    • 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/D:/SDKSpace/flutter/packages/flutter/lib/src/widgets/binding.dart'). package:flutter/…/widgets/binding.dart:1 WidgetsBinding.instance?.addPostFrameCallback((_) { ^ /D:/SDKSpace/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_redux-0.9.0/lib/flutter_redux.dart:577:22: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
    • 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/D:/SDKSpace/flutter/packages/flutter/lib/src/widgets/binding.dart'). package:flutter/…/widgets/binding.dart:1 WidgetsBinding.instance?.addPostFrameCallback((_) { ^

    /D:/SDKSpace/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:167:26: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.

    • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/D:/SDKSpace/flutter/packages/flutter/lib/src/scheduler/binding.dart'). package:flutter/…/scheduler/binding.dart:1 SchedulerBinding.instance?.cancelFrameCallbackWithId(_frameCallbackID); ^

    /D:/SDKSpace/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:170:28: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.

    • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/D:/SDKSpace/flutter/packages/flutter/lib/src/scheduler/binding.dart'). package:flutter/…/scheduler/binding.dart:1 SchedulerBinding.instance?.scheduleFrameCallback(_beginFrame) ?? -1; ^ /D:/SDKSpace/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:272:26: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
    • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/D:/SDKSpace/flutter/packages/flutter/lib/src/scheduler/binding.dart'). package:flutter/…/scheduler/binding.dart:1 SchedulerBinding.instance?.cancelFrameCallbackWithId(_frameCallbackID); ^

    /D:/SDKSpace/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.6/lib/src/structs.g.dart:661:31: Error: Member not found: 'UnicodeChar'. int get UnicodeChar => Char.UnicodeChar; ^^^^^^^^^^^ /D:/SDKSpace/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.6/lib/src/structs.g.dart:662:38: Error: Setter not found: 'UnicodeChar'. set UnicodeChar(int value) => Char.UnicodeChar = value; ^^^^^^^^^^^

    /D:/SDKSpace/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.6/lib/src/structs.g.dart:664:29: Error: Member not found: 'AsciiChar'. int get AsciiChar => Char.AsciiChar; ^^^^^^^^^

    /D:/SDKSpace/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.6/lib/src/structs.g.dart:665:36: Error: Setter not found: 'AsciiChar'. set AsciiChar(int value) => Char.AsciiChar = value; ^^^^^^^^^

    /D:/SDKSpace/flutter/.pub-cache/hosted/pub.dartlang.org/animations-2.0.2/lib/src/open_container.dart:631:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.

    opened by JacksonNing 7
  • 项目导入一直报错,环境配置无问题,一直提示是v1

    项目导入一直报错,环境配置无问题,一直提示是v1

    Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Warning ────────────────────────────────────────────────────────────────────────────── Your Flutter application is created using an older version of the Android embedding. It is being deprecated in favor of Android embedding v2. Follow the steps at

    https://flutter.dev/go/android-project-migration

    to migrate your project. You may also pass the --ignore-deprecation flag to ignore this check and continue with the deprecated v1 embedding. However, the v1 Android embedding will be removed in future versions of Flutter. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ The detected reason was:

    F:\fproject\gsy_github_app_flutter-master\android\app\src\main\AndroidManifest.xml uses android:name="io.flutter.app.FutterApplication" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

    Build failed due to use of deprecated Android v1 embedding.

    opened by zhangmengjia 7
  • flutter run 无法运行

    flutter run 无法运行

    Running "flutter pub get" in gsy_github_app_flutter... 1.2s Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...

    Running pod install... 2.7s Running Xcode build...

    Xcode build done. 29.5s Failed to build iOS app Error output from Xcode build: ↳ 2020-08-08 16:25:47.723 xcodebuild[8369:98415] [MT] DVTPlugInManager: Required plug-in compatibility UUID C80A9C11-3902-4885-944E-A035869BA910 for KSImageNamed.ideplugin (com.ksuther.KSImageNamed) not present ** BUILD FAILED **

    Xcode's output: ↳ In file included from /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.m:26: /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '@param' command [-Wdocumentation] @param sharedStyle ~~~~~~~~~~~~~~~~~^ /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '@param' command [-Wdocumentation] @param allowTapToDismiss ~~~~~~~~~~~~~~~~~~~~~~~^ /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation] @param allowTapToDismiss ^~~~~~~~~~~~~~~~~ /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'? @param allowTapToDismiss ^~~~~~~~~~~~~~~~~ tapToDismissEnabled /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '@param' command [-Wdocumentation] @param queueEnabled ~~~~~~~~~~~~~~~~~~^ 4 warnings generated. In file included from /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:2: /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '@param' command [-Wdocumentation] @param sharedStyle ~~~~~~~~~~~~~~~~~^ /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '@param' command [-Wdocumentation] @param allowTapToDismiss ~~~~~~~~~~~~~~~~~~~~~~~^ /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation] @param allowTapToDismiss ^~~~~~~~~~~~~~~~~ /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'? @param allowTapToDismiss ^~~~~~~~~~~~~~~~~ tapToDismissEnabled /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '@param' command [-Wdocumentation] @param queueEnabled ~~~~~~~~~~~~~~~~~~^ /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:19:23: warning: unused variable 'viewController' [-Wunused-variable] UIViewController *viewController = ^ /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable] CGFloat topPadding = window.safeAreaInsets.top; ^ /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:71:21: warning: unused variable 'bottomPadding' [-Wunused-variable] CGFloat bottomPadding = window.safeAreaInsets.bottom; ^ /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:48:19: warning: unused variable 'size' [-Wunused-variable] NSNumber *size = call.arguments[@"size"]; ^ 8 warnings generated. error: the following command failed with exit code 0 but produced no further output CompileC /Users/lijun/Library/Developer/Xcode/DerivedData/Runner-chyzzdppxeuijqcdtdbmsvyylxwp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FMDB.build/Objects-normal/x86_64/FMDatabaseQ ueue.o /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler error: the following command failed with exit code 0 but produced no further output CompileC /Users/lijun/Library/Developer/Xcode/DerivedData/Runner-chyzzdppxeuijqcdtdbmsvyylxwp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FMDB.build/Objects-normal/x86_64/FMDatabaseP ool.o /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1252:95: warning: parameter of overriding method should be annotated with attribute((noescape)) [-Wmissing-noescape] - (BOOL)executeStatements:(NSString *)sql withResultBlock:(FMDBExecuteStatementsCallbackBlock)block { ^ In file included from /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1: /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.h:514:131: note: parameter of overridden method is annotated with attribute((noescape)) - (BOOL)executeStatements:(NSString )sql withResultBlock:(attribute((noescape)) FMDBExecuteStatementsCallbackBlock _Nullable)block; ^ /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1394:51: warning: parameter of overriding method should be annotated with attribute((noescape)) [-Wmissing-noescape] - (NSError)inSavePoint:(void (^)(BOOL *rollback))block { ^ In file included from /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1: /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.h:988:88: note: parameter of overridden method is annotated with attribute((noescape)) - (NSError * _Nullable)inSavePoint:(attribute((noescape)) void (^)(BOOL *rollback))block; ^ 2 warnings generated. ../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:88:26: Error: Type 'DiagnosticableMixin' not found. class PictureStream with DiagnosticableMixin { ^^^^^^^^^^^^^^^^^^^ ../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:192:44: Error: Type 'DiagnosticableMixin' not found. abstract class PictureStreamCompleter with DiagnosticableMixin { ^^^^^^^^^^^^^^^^^^^ ../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:88:7: Error: The type 'DiagnosticableMixin' can't be mixed in. class PictureStream with DiagnosticableMixin { ^ ../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:192:16: Error: The type 'DiagnosticableMixin' can't be mixed in. abstract class PictureStreamCompleter with DiagnosticableMixin { ^ ../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:167:11: Error: Superclass has no method named 'debugFillProperties'. super.debugFillProperties(properties); ^^^^^^^^^^^^^^^^^^^ ../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:171:30: Error: The method 'toStringShort' isn't defined for the class 'PictureStreamCompleter'. - 'PictureStreamCompleter' is from 'package:flutter_svg/src/picture_stream.dart' ('../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart'). Try correcting the name to the name of an existing method, or defining a method named 'toStringShort'. ifPresent: _completer?.toStringShort(), ^^^^^^^^^^^^^ ../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:266:11: Error: Superclass has no method named 'debugFillProperties'. super.debugFillProperties(description); ^^^^^^^^^^^^^^^^^^^

    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference”
    logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target. (in target 'Runner' from project 'Runner')
    

    Could not build the application for the simulator. Error launching application on iPhone SE (2nd generation).

    opened by kiradea 7
  • Http status error [403]

    Http status error [403]

    flutter: 请求异常: DioError [DioErrorType.RESPONSE]: Http status error [403] flutter: 请求异常url: https://api.github.com/users/用户名/received_events?page=1&per_page=20 一半几率成功,一半几率报403

    opened by hansugus 7
  • No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

    No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

    1. git clone project
    2. make file lib/common/config/ignoreConfig.dart
    3. flutter run lib/main.dart
    4. then, the error shows
    $ flutter run lib/main.dart
    Launching lib/main.dart on BLN AL10 in debug mode...
    Initializing gradle...                                       0.9s
    Resolving dependencies...
    * Error running Gradle:
    Exit code 1 from: /Volumes/RamDisk/GSYGithubAppFlutter/android/gradlew app:properties:
    Starting a Gradle Daemon (subsequent builds will be faster)
    
    
    FAILURE: Build failed with an exception.
    
    * Where:
    Build file '/Volumes/RamDisk/GSYGithubAppFlutter/android/build.gradle' line: 26
    
    * What went wrong:
    A problem occurred evaluating root project 'android'.
    > A problem occurred configuring project ':app'.
       > No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    * Get more help at https://help.gradle.org
    
    BUILD FAILED in 5s
    
    Please review your Gradle project setup in the android/ folder.
    

    flutter doctor description

    $ flutter doctor -v
    [✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
        • Flutter version 0.8.2 at /Users/simonkuang/workspace/flutter_development/flutter
        • Framework revision 5ab9e70727 (2 周前), 2018-09-07 12:33:05 -0700
        • Engine revision 58a1894a1c
        • Dart version 2.1.0-dev.3.1.flutter-760a9690c2
    
    [✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
        • Android SDK at /Users/simonkuang/Library/Android/sdk
        • Android NDK at /Users/simonkuang/Library/Android/sdk/ndk-bundle
        • Platform android-28, build-tools 28.0.2
        • ANDROID_HOME = /Users/simonkuang/Library/Android/sdk
        • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
        • All Android licenses accepted.
    
    [✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 10.0, Build version 10A255
        • ios-deploy 2.0.0
        • CocoaPods version 1.5.3
    
    [✓] Android Studio (version 3.1)
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin version 28.0.1
        • Dart plugin version 173.4700
        • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    
    [✓] IntelliJ IDEA Community Edition (version 2018.1.5)
        • IntelliJ at /Applications/IntelliJ IDEA CE.app
        • Flutter plugin version 25.0.2
        • Dart plugin version 181.4892.1
    
    [✓] IntelliJ IDEA Ultimate Edition (version 2018.1.6)
        • IntelliJ at /Applications/IntelliJ IDEA.app
        • Flutter plugin version 26.0.2
        • Dart plugin version 181.4892.1
    
    [✓] VS Code
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 2.18.0
    
    [✓] Connected devices (1 available)
        • BLN AL10 • CKLDU16B03008538 • android-arm64 • Android 8.0.0 (API 26)
    
    • No issues found!
    
    opened by simonkuang 7
  • 编译不过,提示 Android dependency 'androidx.arch.core:core-runtime' has different version for the compile (2.0.0-rc01) and runtime (2.0.0) classpath

    编译不过,提示 Android dependency 'androidx.arch.core:core-runtime' has different version for the compile (2.0.0-rc01) and runtime (2.0.0) classpath

    @CarGuo @YinRenjie1993 @xzchsia @CarGuoSmall

    提示如下

    Execution failed for task ':app:preDebugBuild'.
    > Android dependency 'androidx.legacy:legacy-support-core-ui' has different version for the compile (1.0.0-rc01) and runtime (1.0.0) classpath. You should manually set the same version via DependencyResolution
    

    还报这个,不知道如何解决。

     java.lang.RuntimeException: Android dependency 'androidx.arch.core:core-runtime' has different version for the compile (2.0.0-rc01) and runtime (2.0.0) classpath. You should manually set the same version via DependencyResolution
    
    opened by Aaron009 6
  • 如果出现登陆失败或者请求失败

    如果出现登陆失败或者请求失败

    1、确定你申请的 ClientId 和 ClientSecret 是正确的。

    2、确定正常使用用户名密码登陆或者 OAuth 登陆。

    3、Connection refused 的情况请更换网络环境。

    The message 'Connection Refused' has two main causes:

    • Nothing is listening on the IP:Port you are trying to connect to.

    • The port is blocked by a firewall.

    Http 请求 422 请检查申请的 ClientId、 ClientSecret,登陆用用户名和密码,不用使用邮箱;授权登记方式记得 readme 中的 Authorization callback URL 一栏必须填入 gsygithubapp://authed

    Connection Refused 问题是Github Api 和我们天朝网络的兼容问题,建议稍后再试或者换个网络环境(wifi、4G、电信/移动/联通)

    opened by CarGuo 15
  • 项目运行环境配置

    项目运行环境配置

    目前

    export PUB_HOSTED_URL=https://pub.flutter-io.cn
    export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
    

    存在问题,详见: https://github.com/flutter/flutter/issues/20809

    经测试,目前镜像已经可用(2018-10-18),但是Andoird在编译时需要一些Kotlin的包和第三方包,这里可能存在需要“梯子”的情况,可在项目的android目录下执行 “./gradlew build” 查看包的下载情况

    opened by CarGuo 57
Releases(3.3.0)
Owner
Shuyu Guo
《Flutter开发实战详解》作者,公众号 GSYTech,一个爱猫的程序猿老司机。一个兴趣使然的攻城喵,超级护发使者。Android、React Native、Flutter、Weex、Cordova、小程序。 偶尔撸下SpringBoot、vue。 码云同步地址:https://gitee.com/CarGuo
Shuyu Guo
Open source code for Bonfire flutter app

Open source code for Bonfire flutter app

SSebigo 12 Nov 15, 2022
Flutter Music Player - First Open Source Flutter based material design music player with audio plugin to play local music files.

Flutter Music Player First Open Source Flutter based Beautiful Material Design Music Player(Online Radio will be added soon.) Demo App Play Store BETA

Pawan Kumar 1.5k Jan 2, 2023
Flute Music Player - First Open Source Flutter based material design music player with audio plugin to play local music files.

Flute Music Player Plugin Only Updated to androidx First Open Source Flutter based material design music player with audio plugin to play local music

Pawan Kumar 316 Nov 23, 2022
Flutter project integrated with Supabase, the Firebase open source alternative

This is a Flutter project integrated with Supabase, the Firebase open source alternative. This project is a sandbox for playground for Flutter & Supabase integration.

anegrete 13 Oct 18, 2022
Google UI is an open-source UI library for developing cross-platform apps using Flutter with Material Design 2.0

Google UI Google UI is an open-source UI library for developing cross-platform apps using Flutter with "Material Design 2.0" Table of contents Install

Ed Sulaiman 25 Dec 24, 2022
Simple tool to open WhatsApp chat without saving the number, developed using Google's Flutter Framework.

Simple tool to open WhatsApp chat without saving the number, developed using Google's Flutter Framework. for Android/ IOS/ Desktop/ Web

Swarup Bhanja Chowdhury 15 Nov 1, 2022
💙 A simple Flutter app sample with hooks_riverpod, includes HTTP requests by dio using GitHub APIs.

?? A simple Flutter app sample with hooks_riverpod, includes HTTP requests by dio using GitHub APIs.

Kosuke Saigusa 16 Oct 13, 2022
Flutter - Github Api Example

It is a simple app where I pull the data of the user searched using Dio from github api and show it.

Yılmaz Yağız Dokumacı 15 Oct 17, 2022
An app that keeps track of what you're watching and allows you to watch the shows from within the app itself. It uses Kitsu API as it's data source.

Anilemon A small app to keep track of and watch your favorite anime. Features Save anime that you are interested in in your library Open the website y

Pumpkin Person 0 Oct 12, 2021
Quiz App to conduct online quiz developed with flutter framework and dart language

Online Quiz App A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Parag Patil 7 Nov 8, 2022
Simple quiz app that i developed with flutter.

Quizler App I developed a simple quiz app, It contains a list of questions on locally. There are 2 options "true" and "false", after the user selects

null 1 Nov 26, 2021
Shopping App developed using Flutter and Dart making use of Provider, Carousel Library, Google FireStore

Shopping App developed using Flutter and Dart making use of Provider, Carousel Library, Google FireStore. It's featuring standard modern shopping app UI

Atuoha Anthony 7 Jan 3, 2023
My app - Developed for the first assignment of Max udemy course on flutter and dart

My app - Developed for the first assignment of Max udemy course on flutter and dart

Matheus dos Santos Lima 0 Jan 15, 2022
A simple yet elegant quiz app developed with Flutter

CoolQuiz (Flutter - Dart) A simple yet elegant Quiz App developed with Flutter. Some of the Widgets and Plugins used TextFormField Buttons Snackbar Sh

null 9 Aug 11, 2022
Use of Divider in Flutter (in our developed ID Card App)

Use_Of_Divider_In_IDCard Use of Divider in Flutter. Use of Divider in Flutter (in our developed ID Card App) Getting Started This project is a startin

Avinandan Bose 1 Mar 19, 2022
All in one Social Media App Getting developed using flutter & firebase

All in one Social Media App Getting developed using flutter & firebase

Saffron Dionysius 8 Nov 17, 2022
A mobile version of Twake app, developed using Flutter framework.

Twake-mobile This is a mobile version of Twake app, developed using Flutter framework. Getting started In order to run the app locally (either on your

LINAGORA 48 Dec 14, 2022
A mobile travel app is a software application that has been developed specifically for use on smaller devices

A mobile travel app is a software application that has been developed specifically for use on smaller devices, such as smartphones and tablets, and can be used by business travellers to book and manage their travel whilst on the move

Behruz Hurramov 4 Apr 27, 2022
Flutter Widget Quiz, made for Flutter Create (Source code size is limited to 5KB)

widget_quiz The branch for Flutter Create: https://github.com/mono0926/widget-quiz/tree/5k Getting Started This project is a starting point for a Flut

Masayuki Ono (mono) 50 Oct 14, 2022