Android Emulator wont connect

The android emulator wont connect it loads but when i hit run it says build failed in timestamp the emulator constantly does this and ive followed every tutorial please help im using this for flutter programming