'Warning: CocoaPods not installed. Skipping pod install. ERROR

i get this Error, when trying to run my app from android studio IDE.

Error mesasge

I can run it from my terminal, with flutter run, it works all fine. But my IDE fails. And i have cocoapods, and it works finde too. I am running this on a old mac, with Catalina 10.15.7.

UPDATE I did not found a solution, but using Visual Studio Code, did the job, now i can run my app on IOS again. I think its a Android Studio problem.



Solution 1:[1]

I face this same issue with new upgrade of Android Studio Bumblebee in new M1 Mac Chip... So I solve this issue via this...

  1. Check you gem list to find the all version of cocoapods

  2. Uninstall your Cocoapod: sudo gem uninstall cocoapods

3.Then Install it again : sudo gem install cocoapods

Solution 2:[2]

close android Studio open terminal

run chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv

run Android Studio from dock

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Vishal_VE
Solution 2 Maurice Raguse