'No `Podfile' found in the project directory

I'm trying to run pod install command in android studio but terminal outputs the following error : [!] No Podfile' found in the project directory.

enter image description here



Solution 1:[1]

If the accepted answer does not work, I recommend firstly trying:

Open a terminal on your android studio

run:

cd ios

then:

pod init

and then:

pod install

Solution 2:[2]

Follow the steps in terminal:

cd ios
pod init
pod install

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
Solution 2 Tyler2P