文章目錄
功能
如何查找使用適合的第三方庫?
按上面三步走,並在pubspec.yaml中添加:flutter_webview_plugin: ^0.3.7
更新packages
1、通過AS,進行Packages get
,卡住進程
【解決辦法】在命令行輸入:flutter pub get
2、Run的時候卡在:Downloading android-arm-profile/darwin-x64 tools…
【解決辦法】在命令行輸入:flutter doctor
環境及配置問題
engine/ios does not exist
具體:cache/artifacts/engine/ios does not exist
解決:執行:flutter upgrade
Could not parse callback cache, aborting restore
運行iOS代碼是,顯示白屏,打印:Could not parse callback cache, aborting restore
iOS編譯卡住
等了好久還是卡在這裏,看了網上的說法(網絡問題,這裏先mark下,後邊看下why,有知道的朋友留言交流下~),解決:把Run Script中的內容先刪掉,編譯可以通過~~
ld: library not found for
【問題】ld: library not found for -lflutter_webview_plugin
解決方法:關閉xcode,重新pod update