我使用 Iphone 11 模拟器。我点击了运行按钮并得到了这个:
Launching lib/main.dart on iPhone 11 in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 37.0s
Waiting for iPhone 11 to report its views...
Debug service listening on ws://127.0.0.1:65405/L1H3N-Q0JFU=/ws
Syncing files to device iPhone 11...
Lost connection to device.
Run Code Online (Sandbox Code Playgroud)
它打开应用程序并立即关闭。我执行了flutter clean但它不起作用。这是我的flutter doctor“:
[?] Flutter (Channel master, 1.24.0-2.0.pre.98, on Mac OS X 10.15.4 19E287 darwin-x64, locale en-GB)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
? Android …Run Code Online (Sandbox Code Playgroud) 我使用 Vue CLI 创建了一个项目vue create my-project并收到此错误:
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:": npm:vue-loader@^16.0.0-beta.3
npm ERR! A complete log of this run can be found in:
npm ERR! /home/n/.npm/_logs/2020-09-10T05_10_36_489Z-debug.log
Run Code Online (Sandbox Code Playgroud)
Npm 版本:6.14.8,节点版本:10.15.2。我用谷歌搜索了这个错误,但他们的答案对我不起作用。我还重新安装了 npm、node、vue,但没有任何好处。感谢您的所有回答。
我想将背景图标更改为#fe6017. 我使用flutter_launcher_icons,设置adaptive_icon_background: "#fe6017"。但它不起作用。我也尝试调整图像大小。但它总是缩小并white在我的图像周围添加颜色。谢谢你。
我知道有一种方法可以将图像转换为Iconvia ImageIcon。但我使用的FancyBottomNavigation是TabData具有参数iconData类型的必需项IconData。反正有没有将图像转换为 IconData。