Error: Emulator engine failed

I just updated flutter in android studio and now I cant start the emulator to test my code.
When I start the emulator it gives and error saying that the emulator engine failed. it opens and closes too fast for me to screen shot it and I had to start the emulator up a few times to see what the error was. I looked this problem up on stack over flow and tried everything that was suggested and still no fix.
can anyone help?