The fourth pit of the flutter – the asset, Android print and IOS devices are disconnected

Use of asset

1. Configure in yaml;

2. Complete path in the code.

Print output length

1. The limit in Android is 4000. After that, it can be output by cutting into several segments, but I don't think I'm too lazy to do so in general

2.ios does not restrict the length, so debugging in IOS may be better.

IPhone auto disconnect

Lost connection to device

This problem will make it difficult to debug in IOS.

Solution: brew Upgrade -- fetch head usbmuxd

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>