Appium - Emulator not running error

Bug - Appium launches Android emulator successfully but continuously logs error “Emulator xxx not running”.

Environment
Appium version 1.4.16.1.
Window 7
Android 6.0 Marshmellow

Code:

AndroidDriver< WebElement> driver;

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(“platformName”, “Android”);
capabilities.setCapability(“platformVersion”, “6.0”);
capabilities.setCapability(“deviceName”, “Android Emulator”);
capabilities.setCapability(“avd”, “AVD_for_7_WSVGA_Tablet”);
capabilities.setCapability(“appPackage”, “com.android.app”);
capabilities.setCapability(“appActivity”, “com.android.app.login”);

driver = new AndroidDriver< WebElement>(new URL(“http://127.0.0.1:4723/wd/hub”), capabilities);

Appium logs

> info: --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.itelematic.drive.dashboard","appActivity":"com.itelematic.drive.dashboard.DashboardActivity","platformVersion":"6.0","platformName":"Android","deviceName":"Android Emulator","avd":"AVD_for_7_WSVGA_Tablet"}}
> info: Client User-Agent string: Apache-HttpClient/4.5.2 (Java/1.8.0_92)
> info: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
> info: [debug] Creating new appium session f16c50d2-941d-46d4-bb09-b129a2243e4d
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_74
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe
> warn: No app capability, can't parse package/activity
> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Not checking whether app is present since we are assuming it's already on the device
> info: [debug] Trying to find AVD_for_7_WSVGA_Tablet emulator
> info: [debug] Getting connected emulators
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: "C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" devices
> info: [debug] 2 device(s) connected
> info: [debug] 1 emulator(s) connected
> info: [debug] Sending telnet command to device: avd name
> info: [debug] Getting running emulator port
> info: [debug] Socket connection to device created
> info: [debug] Socket connection to device ready
> info: [debug] Telnet command got response: ae[Ke[Dave[Ke[De[Davde[Ke[De[De[Davd e[Ke[De[De[De[Davd ne[Ke[De[De[De[De[Davd nae[Ke[De[De[De[De[De[Davd name[Ke[De[De[De[De[De[De[Davd namee[K
> AVD_for_7_WSVGA_Tablet
> info: [debug] Emulator AVD_for_7_WSVGA_Tablet not running
> info: [debug] Launching Emulator with AVD AVD_for_7_WSVGA_Tablet, launchTimeout 120000ms and readyTimeout 120000ms
> info: [debug] Checking whether emulator is present
> info: [debug] Using emulator from C:\Program Files (x86)\Android\android-sdk\tools\emulator.exe
> info: [debug] Trying to find AVD_for_7_WSVGA_Tablet emulator
> info: [debug] Getting connected emulators
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: "C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" devices
> info: [debug] 2 device(s) connected
> info: [debug] 1 emulator(s) connected
> info: [debug] Sending telnet command to device: avd name
> info: [debug] Getting running emulator port
> info: [debug] Socket connection to device created
> info: [debug] Socket connection to device ready
> info: [debug] Telnet command got response: ae[Ke[Dave[Ke[De[Davde[Ke[De[De[Davd e[Ke[De[De[De[Davd ne[Ke[De[De[De[De[Davd nae[Ke[De[De[De[De[De[Davd name[Ke[De[De[De[De[De[De[Davd namee[K
> AVD_for_7_WSVGA_Tablet
> info: [debug] Emulator AVD_for_7_WSVGA_Tablet not running
> error: Unable to start Emulator: qemu-system-i
> error: Unable to start Emulator: 386.exe: -drive if=none,index=1,id=cache,file=C:\Users\loveleen.saini\.android\avd\AVD_for_7_WSVGA_Tablet.avd/cache.img: could not open disk image C:\Users\loveleen.saini\.android\avd\AVD_for_7_WSVGA_Tablet.avd/cache.img: Could not open 'C:\Users\loveleen.saini\.android\avd\AVD_for_7_WSVGA_Tablet.avd/cache.img': Invalid argument
> 
> info: [debug] Trying to find AVD_for_7_WSVGA_Tablet emulator
> info: [debug] Getting connected emulators
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: "C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" devices
> info: [debug] 2 device(s) connected
> info: [debug] 1 emulator(s) connected
> info: [debug] Sending telnet command to device: avd name
> info: [debug] Getting running emulator port
> info: [debug] Socket connection to device created
> info: [debug] Socket connection to device ready
> info: [debug] Telnet command got response: ae[Ke[Dave[Ke[De[Davde[Ke[De[De[Davd e[Ke[De[De[De[Davd ne[Ke[De[De[De[De[Davd nae[Ke[De[De[De[De[De[Davd name[Ke[De[De[De[De[De[De[Davd namee[K
> AVD_for_7_WSVGA_Tablet
> info: [debug] Emulator AVD_for_7_WSVGA_Tablet not running
> info: [debug] Trying to find AVD_for_7_WSVGA_Tablet emulator
> info: [debug] Getting connected emulators
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: "C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" devices
> info: [debug] 2 device(s) connected
> info: [debug] 1 emulator(s) connected
> info: [debug] Sending telnet command to device: avd name
> info: [debug] Getting running emulator port
> info: [debug] Socket connection to device created
> info: [debug] Socket connection to device ready
> info: [debug] Telnet command got response: ae[Ke[Dave[Ke[De[Davde[Ke[De[De[Davd e[Ke[De[De[De[Davd ne[Ke[De[De[De[De[Davd nae[Ke[De[De[De[De[De[Davd name[Ke[De[De[De[De[De[De[Davd namee[K
> AVD_for_7_WSVGA_Tablet
> info: [debug] Emulator AVD_for_7_WSVGA_Tablet not running
> info: [debug] Trying to find AVD_for_7_WSVGA_Tablet emulator
> info: [debug] Getting connected emulators
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: "C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" devices
> info: [debug] 1 device(s) connected
> info: [debug] 1 emulator(s) connected
> info: [debug] Sending telnet command to device: avd name
> info: [debug] Getting running emulator port
> info: [debug] Socket connection to device created
> info: [debug] Socket connection to device ready
> info: [debug] Telnet command got response: ae[Ke[Dave[Ke[De[Davde[Ke[De[De[Davd e[Ke[De[De[De[Davd ne[Ke[De[De[De[De[Davd nae[Ke[De[De[De[De[De[Davd name[Ke[De[De[De[De[De[De[Davd namee[K
> AVD_for_7_WSVGA_Tablet
> info: [debug] Emulator AVD_for_7_WSVGA_Tablet not running
> info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
> warn: UiAutomator did not shut down fast enough, calling it gone
> info: [debug] Cleaning up android objects
> info: [debug] Cleaning up appium session
> error: Failed to start an Appium session, err was: Error: Could not find AVD_for_7_WSVGA_Tablet emulator.
> info: [debug] Error: Could not find AVD_for_7_WSVGA_Tablet emulator.
>     at [object Object].ADB.getRunningAVDWithRetry (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:715:15)
>     at [object Object].<anonymous> (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:794:10)
>     at [object Object].ADB.checkSdkBinaryPresent (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:116:5)
>     at [object Object].ADB.launchAVD (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:760:8)
>     at [object Object].<anonymous> (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:800:23)
>     at [object Object].<anonymous> (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:720:11)
>     at C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:707:9
>     at done (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\async\lib\async.js:132:19)
>     at C:\Program Files (x86)\Appium\node_modules\appium\node_modules\async\lib\async.js:32:16
>     at [object Object].<anonymous> (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:703:11)
>     at Socket.<anonymous> (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:1538:9)
>     at Socket.emit (events.js:107:17)
>     at TCP.close (net.js:484:11)
> info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Could not find AVD_for_7_WSVGA_Tablet emulator.)","origValue":"Could not find AVD_for_7_WSVGA_Tablet emulator."},"sessionId":null}
> info: <-- POST /wd/hub/session 500 249744.636 ms - 216 

Appium settings