• Flutter-BottomNavigationBar的使用说明

    Flutter-BottomNavigationBar的使用说明

    RainNight 2021-09-6 Flutter

    252°

    # Flutter-BottomNavigationBar的使用说明 在目前的app使用过程中,使用最多的场景莫过于有一个底部的Tabbar,在Flutter中也有类似的Widget,这个Widget就是今天要为大家介绍的BottomNavigationBar;BottomNavigationBar这个Widget在Scaffold这个Widget下面。 讲这个Widget之前我们先温习一下之前两个Widgets Flutter-AppBar的使用说明 Flutter-TabBar的使用说明 #
  • 解决 Mac OS 10.14 环境下 gem install ERROR

    解决 Mac OS 10.14 环境下 gem install ERROR

    RainNight 2021-07-11 flutter

    855°

    # 环境 ---- * Mac OS Mojave 10.14 * ruby 2.3.7p456 (2018-03-28 revision 63024) # 报错信息 --- ``` $ sudo gem install sass Building native extensions. This could take a while... ERROR: Error installing sass: ERROR: Failed to build gem native extension. curr
  • Automatically assigning platform `ios` with version `9.0` on target `Runner`解决

    Automatically assigning platform `ios` with version `9.0` on target `Runner`解决

    RainNight 2021-07-11 flutter

    726°

    Automatically assigning platform ios with version 9.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile 在mac上使用引用了第三方库,发现报错,解决步骤如下: 解决办法: ## platform version错误,解决方法是修改项目里的ios/Podfile文件: ```
  • Flutter: Error running pod install解决

    Flutter: Error running pod install解决

    RainNight 2021-07-11 flutter

    351°

    错误信息: ``` Launching lib/main.dart on iPhone 11 Pro Max in debug mode... Running pod install... CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate Using `ARCHS` setting to build architectures of target `Pods-Runner`:
  • Flutter pod install problem - undefined method `each_child' for #

    Flutter pod install problem - undefined method `each_child' for #

    RainNight 2021-07-11 flutter

    407°

    ## 背景:在运行Flutter项目的时候出现这个问题,找来找去找不到原因,还是stackoverflow比较香 > I was working on a Flutter app and suddenly got the following error when I run pod > install. I need to mention that I searched a lot and tried too many ways but unfortunately nobody had the
  • Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources解决

    Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources解决

    RainNight 2021-07-11 flutter

    377°

    # 解决方法 ``` ruby -v rvm requirements brew install libyaml rvm pkg install openssl rvm install 2.3.1 --with-openssl-dir=$HOME/.rvm/usr gem sources -a https://ruby.taobao.org/ sudo gem install cocoapods ```
  • install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources

    install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources

    RainNight 2021-07-11 flutter

    437°

    # 2、在ubuntu 下安装 --- 先安装ruby,下载源代码(rubyonrails.org/download),解压进入一级目录(ruby 也可以用本地包管理器安装) $ ./configure $ make $ sudo make install 再安装RubyGems包管理器 下载代码 解压进去一级目录 sudo ruby setup.rb (有可能有其他命令 ruby setup.rb --help 注意老版本的rubygems 需要先更新) 最后才能安装rails gem ins
  • ERROR: SSL verification error

    ERROR: SSL verification error

    RainNight 2021-07-11 flutter

    314°

    # ERROR: SSL verification error --- 在安装CocoaPods出现了以下问题: > ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20) > ERROR: You must add /C=IL/O=StartCom Ltd./OU=Secure Digital Certificate Signing/CN=StartCom Certificati
  • ERROR: Could not find a valid gem ‘bundler’ (>= 0)解决方法

    ERROR: Could not find a valid gem ‘bundler’ (>= 0)解决方法

    RainNight 2021-07-11 flutter

    336°

    # 问题描述 ---- 系统macOS,需要用到ruby gem,执行gem install bundler后报错: ``` ERROR: Could not find a valid gem 'bundler' (>= 0), here is why: Unable to download data from https://ruby.taobao.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate
  • gem install bundler SSL证书错误 解决办法

    gem install bundler SSL证书错误 解决办法

    RainNight 2021-07-11 flutter

    318°

    最近在windows10电脑上装上PentestBox后,直接用“msfconsole”命令启动metasploit时,却发现需要先让我执行ruby中的“gem install bundler”命令,意思是先让我安装一个bundler,结果却报了如下错误: ``` ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20) ERROR: You must add /O=Digital
  • Could not find a valid gem 'compass' (>= 0) in any repository compass安装失败解决方案

    Could not find a valid gem 'compass' (>= 0) in any repository compass安装失败解决方案

    RainNight 2021-07-11 flutter

    314°

    安装完成ruby gem 之后,通过 gem install compass 安装compass~~ 出现如下报错 Could not find a valid gem ‘compass‘ (>= 0) in any repository ![file](/static/upload/bigpic/20210711/1625976140206423607.png) 然后尝试在 https://rubygems.org/ 下载 compass-1.0.3.gem 本地安装 ![file](/sta
  • Flutter Insecure http is not allowed by platform

    Flutter Insecure http is not allowed by platform

    RainNight 2021-07-4 flutter

    375°

    Flutter 团队最近进行了此更改,现在不允许不安全的 http 连接。 https://flutter.dev/docs/release/break-changes/network-policy-ios-android 我想知道如何将我的手机上的 Flutter 应用程序连接到我的 PC 上运行的本地 Go 服务器。 我的服务器正在运行:http : //192.168.29.45 : 4001但它没有连接到它。 通常需要(并且最好)使用 https 链接而不是 http 链接。但是,这可以
Collect from 雨夜的博客 雨夜的博客