flutter

不再关注网络安全

flutter应用程序图标制作简单方法

flutter应用程序图标制作简单方法

其实之前已经有写过一篇文章《Flutter应用图标自适应方案:标准规范自动圆角不变形》,结合着看也行。 让我们承认这一点ーー管理应用程序图标是一项重复的任务。他们必须生成的多分辨率和手动放置在几个文件...

Flutter git忽略.gitignore配置

Flutter git忽略.gitignore配置

基础模板直接看官方的: flutter官方.gitignore文件 # Miscellaneous *.class *.lock *.log *.pyc *.swp .DS_Store .atom/ .buildlog/ .history .svn/ # IntelliJ related *.iml *.ipr *.iws .idea/ # V...

Error when reading ‘pub’: No such file or directory解决

Error when reading ‘pub’: No such file or directory解决

已经安装dart,并且指定了bin位置,但执行命令依然报错: ➜~ (master) ✗ dart pub outdated Error: Error when reading 'pub': No such file or directory 提示错误没说dart问题,而是说pub,那就是pub没...

Can’t build Flutter application: Unable to locate DeviceSupport directory解决

Can’t build Flutter application: Unable to locate DeviceSupport directory解决

错误 Unable to locate DeviceSupport directory with suffix 'DeveloperDiskImage.dmg'. This probably means you don't have Xcode installed, you will need to launch the app manually and logging outp...

Error launching app. Try launching from within Xcode via解决

Error launching app. Try launching from within Xcode via解决

ios真机 ═══════════════════════════════════════════════════════════════════════════════════ Error launching app. Try launching from within Xcode via: open ios/Runner.xcworkspace Your Xcode ver...

No podspec found for `flutter_keyboard_visibility_web`解决

No podspec found for `flutter_keyboard_visibility_web`解决

如示: Analyzing dependencies [!] No podspec found for `flutter_keyboard_visibility_web` in .symlinks/plugins/flutter_keyboard_visibility_web/ios` 解决办法 删除 Podfile 和 Podfile.loc...

Flutter打包方式

Flutter打包方式

前言 Flutter 在打包安卓应用时有两种方式 flutter build apk 和 flutter build appbundle,本文说下这两种方式有什么区别。 Appbundle Android App Bundle 是上传到 Google Play 用以...

APP识别拦截快应用Deeplink

APP识别拦截快应用Deeplink

国内手机基本都加入了快应用支持,在日常使用中会莫明的打开快应用连接,有时在浏览器网页时都会被拉起快应用,这对安全和体验来说造成了很大的困扰,必须限制它的这种行为。 快应用行为:Deeplink 快应用...

Flutter SDK升级、降级、回退到指定版本方法

Flutter SDK升级、降级、回退到指定版本方法

Flutter SDK 归档列表 Flutter 的 Stable channel 是相对稳定的发布版本 https://docs.flutter.cn/release/archive 相关命令: 查看版本: flutter --version 检查环境:flutter doctor 查看渠道:fl...

flutter解决Could not resolve all artifacts for configuration ‘:classpath’.

完整错误如下: 12345678910111213141516171819 FAILURE: Build failed with an exception. ...