Trouble Shooting - YamamotoDesu/Yamamoto-Notes GitHub Wiki
- Disabled WiFi on the laptop.
- Switched off the emulator.
- Did a cold boot on the emulator (AVD Manager -> on emulator actions -> Cold Boot Now).
- After reboot with laptop WiFi disabled the emulator showed proper WiFi connection (emulator still shows *
- AndroidWifi but is connected to my laptop internet. WiFi symbol now look like this: WiFi symbol connected)
- Enabled WiFi on my laptop and everything worked
- Use 10.0.2.2 to access your actual machine.
➜ ~ pod update
/Library/Ruby/Site/2.6.0/rubygems.rb:265:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)
from /Library/Ruby/Site/2.6.0/rubygems.rb:284:in `activate_bin_path'
from /usr/local/bin/pod:23:in `<main>'
Solution:
sudo gem uninstall cocoapods
sudo gem install -n /usr/local/bin cocoapods
Solution:
brew install [email protected]