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解决Could not resolve all artifacts for configuration ‘:classpath’.

完整错误如下: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:lintVitalRelease'. > Could not reso...

The iOS Simulator deployment target is set to 4.3解决

在ios模拟器上调试的时候出现错误信息:The iOS Simulator deployment target is set to 4.3... 原来是因为ios 版本问题,于是找到资料是在 Podfile...

‘AMapSearch-NO-IDFA’ uses the unencrypted ‘http’ protocol to transfer the Pod解决

‘AMapSearch-NO-IDFA’ uses the unencrypted ‘http’ protocol to transfer the Pod解决

错误提示 [!] 'AMapFoundation' uses the unencrypted 'http' protocol to transfer the Pod. Please be sure you're in a safe network with only trusted hosts. Otherwise, please reach out to the l...