ERROR: the user data image is used by another emulator. aborting
Go to .android folder from Users folder. Once you are in .android go to avd folder. Select the emulator, which you are using. Inside that folder you will see two folders:
cache.img.lock and userdata-qemu.img.lock. Delete both these folders and then just restart the emulator.