Search for *.lock folders under .android folder and delete those. This should tell Android studio that the AVD is not running.
Search for *.lock folders under .android folder and delete those. This should tell Android studio that the AVD is not running.