Flutter踩坑记录

Flutter

报错信息:

A SingleTickerProviderStateMixin can only be used as a TickerProvider once.
If a State is used for multiple AnimationController objects, or if it is passed to other objects and those objects might use it more than one time in total, then instead of mixing in a SingleTickerProviderStateMixin, use a regular TickerProviderStateMixin.

解决方案:
用 TickerProviderStateMixin 替换 SingleTickerProviderStateMixin;

iOS

报错信息:

dyld: Library not loaded: @rpath/App.framework/App
  Referenced from: /Users/loseboy/Library/Developer/CoreSimulator/Devices/37368366-A391-4D52-B11D-52B70E66849E/data/Containers/Bundle/Application/ED19754F-C00E-413F-B0E7-1DA7BD408DC7/Runner.app/Runner
  Reason: image not found
(lldb) 

解决方案:

解决方案来自 https://www.jianshu.com/p/dd08131c9115

Android

持续更新…

你可能感兴趣的:(代码人生)