简体   繁体   English

将 android 工作室更新为 BumbleBee 后。 Flutter 中的 IOS 应用程序运行问题

[英]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:目前有两种解决方案:

  1. Open android studio using command line, run below command in terminal -使用命令行打开 android studio,在终端中运行以下命令 -

    open /Applications/Android\ Studio.app

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

相关问题 从 android 工作室在 iOS 上运行 flutter 应用程序 - Run flutter app on iOS from android studio "Amplify 更新 0.3.2 后无法在 ios 上运行颤振应用程序" - Can't Run flutter app on ios after Amplify update 0.3.2 Flutter:为 iOS 和 Android 添加应用程序更新对话框 - Flutter: Adding App Update Dialog for iOS and Android Flutter - 无法在 Android Studio 上构建 iOS 应用程序 - Flutter - Failed to build iOS app on Android Studio Flutter 应用程序:IOS 模拟器未连接到 Android Studio - Flutter app : IOS emulator not connecting to Android Studio 在 IOS 设备上运行 Flutter Android 构建的应用程序 - Run Flutter Android Built App on IOS Device Build, deploy and run a Flutter app for iOS from Android Studio on a Linux computer using a remote Mac with an Xcode server or an SSH server? - Build, deploy and run a Flutter app for iOS from Android Studio on a Linux computer using a remote Mac with an Xcode server or an SSH server? print() 语句未在 Android Studio 中的 flutter iOS 应用程序中打印到控制台 - print() statement not printing to console in flutter iOS app within Android Studio 如何使用 Android Studio 为 flutter 应用程序生成 iOS 构建? - How to generate an iOS build for a flutter app using Android Studio? Android Studio 在 Mac M1 上升级到 Bumblebee 后无法找到 Cocopods 安装 - Android Studio fails to find Cocopods installation after upgrade to Bumblebee on Mac M1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM