flutter

不再关注网络安全

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 用以...

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’.

完整错误如下: 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...

Automatically assigning platform `ios` with version `9.0` on target `Runner`解决

Automatically assigning platform `ios` with version `9.0` on target `Runner`解决

Automatically assigning platform ios with version 9.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile ...

Flutter: Error running pod install解决

Flutter: Error running pod install解决

错误信息: Launching lib/main.dart on iPhone 11 Pro Max in debug mode... Running pod install... CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate Using `AR...