My laptop has same memory and storage you mentioned. It's not a macbook though. I have tried android studio and emulator on both windows and ubuntu os and it works smooth without any lag.
Also see system requirement section at
I'm pasting requirements for mac from that page :
Mac® OS X® 10.10 (Yosemite) or higher, up to 10.14 (macOS Mojave)
4 GB RAM minimum, 8 GB RAM recommended
2 GB of available disk space minimum,
4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
1280 x 800 minimum screen resolution