-
RainNight
2021-09-6
Flutter
1494°
# Flutter-BottomNavigationBar的使用说明
在目前的app使用过程中,使用最多的场景莫过于有一个底部的Tabbar,在Flutter中也有类似的Widget,这个Widget就是今天要为大家介绍的BottomNavigationBar;BottomNavigationBar这个Widget在Scaffold这个Widget下面。
讲这个Widget之前我们先温习一下之前两个Widgets
Flutter-AppBar的使用说明
Flutter-TabBar的使用说明
#
-
RainNight
2021-07-11
flutter
2017°
# 环境
----
* 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
-
RainNight
2021-07-11
flutter
2030°
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文件:
```
-
RainNight
2021-07-11
flutter
1628°
错误信息:
```
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`:
-
RainNight
2021-07-11
flutter
2508°
## 背景:在运行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
-
RainNight
2021-07-11
flutter
1643°
# 解决方法
```
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
```
-
RainNight
2021-07-11
flutter
2358°
# 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
-
RainNight
2021-07-11
flutter
1648°
# 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
-
RainNight
2021-07-11
flutter
1760°
# 问题描述
----
系统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
-
RainNight
2021-07-11
flutter
1961°
最近在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
-
RainNight
2021-07-11
flutter
1512°
安装完成ruby gem 之后,通过 gem install compass 安装compass~~
出现如下报错
Could not find a valid gem ‘compass‘ (>= 0) in any repository

然后尝试在 https://rubygems.org/ 下载 compass-1.0.3.gem 本地安装
使用 https 链接而不是 http 链接。但是,这可以