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

Android包名不能以数字开头

Android包名不能以数字开头

以前没用过数据开头的包名,今天遇到了,一直报以下错误 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processReleaseResources'. > A failure occurred...

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版本升级&版本回退

Flutter版本升级&版本回退

版本升级 升级Flutter的版本相对来说比较容易操作,直接在命令行输入: flutter upgrade # 或者 flutter version 1.22.6 这个命令首先获取你的 Flutter 渠道可用的最新的 Flutter SDK 版本。接着这个...

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