[英]After update the android studio to BumbleBee. IOS App Run Issue in Flutter
After updating the Android studio it's throwing the error in IOS run更新 Android 工作室后,它在 IOS 运行中抛出错误
Warning: CocoaPods not installed.警告:未安装 CocoaPods。 Skipping pod install.
跳过 pod 安装。 CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
CocoaPods 用于检索 iOS 和 macOS 平台端的插件代码,该代码响应您在 Dart 端的插件使用情况。 Without CocoaPods, plugins will not work on iOS or macOS.
如果没有 CocoaPods,插件将无法在 iOS 或 macOS 上运行。 For more info, see https://flutter.dev/platform-plugins To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
欲了解更多信息,请参阅https://flutter.dev/platform-plugins要安装,请参阅https ://guides.cocoapods.org/using/getting- 安装说明。
CocoaPods not installed or not in valid state. CocoaPods 未安装或不在有效的 state 中。 Error launching application on iPhone 13 Pro Max.
在 iPhone 13 Pro Max 上启动应用程序时出错。
It's a issue of flutter integration with new update of android studio Here you can find more about this https://github.com/flutter/flutter/issues/97251这是 flutter 与 android 工作室的新更新集成的问题在这里你可以找到更多关于这个https://github.com/flutter/flutter/issues/97251
for now there are two solutions:目前有两种解决方案:
Open android studio using command line, run below command in terminal -使用命令行打开 android studio,在终端中运行以下命令 -
open /Applications/Android\ Studio.app
Add missing flag to android studio, run below command in terminal -将缺少的标志添加到 android 工作室,在终端中运行以下命令 -
chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv
I have the same issue and I am hoping they will fix it soon.我有同样的问题,我希望他们能尽快解决。 But, running flutter run from the terminal window inside Android Studio works fine and I can build and deploy for Android and iOS devices.
But, running flutter run from the terminal window inside Android Studio works fine and I can build and deploy for Android and iOS devices. Not a great solution, but works for now.
不是一个很好的解决方案,但目前有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.