未处理的异常:MissingPluginException(在通道 flutter_svprogresshud 上找不到方法显示的实现)

时间:2021-01-16 11:31:27

标签: android flutter

在调试模式下,一切正常。但是在发布模式下,显示此错误:

# 1. Move `weed` to some directory the startup service can access. I used `/usr/local/bin/weed/`. Include `weed` and `weed.json` in that directory (ymmv) 


mkdir /usr/local/bin/weed
mv weed /usr/local/bin/weed/weed
mv weed.json /usr/local/bin/weed/weed.json


# 2. Create a systemd service config: 

cat > /etc/systemd/system/seaweedmaster.service <<EOM

[Unit]
Description=SeaweedFS Server
After=network.target

[Service]
Type=simple
User=root
Group=root

ExecStart=/usr/local/bin/weed/weed server -dir=/VolA,/VolB -s3 -s3.config=weed.json -s3.port=9001 -master.defaultReplication="010" -master.peers=ip1:9333,ip2:9333,ip3:9333 -ip=ip1 -dataCenter=ABC -rack=A -volume.max=100
WorkingDirectory=/usr/local/bin/weed/
SyslogIdentifier=seaweedfs-master

[Install]
WantedBy=multi-user.target
EOM


# 3. Reload, enable and start 

sudo systemctl daemon-reload
sudo systemctl enable seaweedmaster
sudo systemctl start seaweedmaster



# 4. logging the output, one of many options: 

journalctl -u seaweedmaster.service -b --no-pager

0 个答案:

没有答案