HELP - SOS! Error while trying to initialize apk file in Appium

Hi All,
I am getting the below error while initializing my apk file in Appium. Kindly help as I am totally new to this tool. Thanks!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Launching Appium server with command: C:\Program Files (x86)\Appium\node.exe lib\server\main.js --address 192.168.56.1 --port 4723 --app “C:\Users\Gaurav \Desktop\Appium_Workspace\apk_files\[email protected]” --pre-launch --platform-name Android --platform-version 23 --automation-name Appium --log-no-color
info: [debug] Starting Appium in pre-launch mode
info: Pre-launching app
info: [debug] No appActivity desired capability or server param. Parsing from apk.
info: [debug] No appPackage desired capability or server param. Parsing from apk.
info: [debug] Using local app from command line: C:\Users\Gaurav \Desktop\Appium_Workspace\apk_files\[email protected]
info: [debug] Creating new appium session d037a190-437b-4e8a-863b-bba744d345b9
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_91
info: [debug] Checking whether adb is present
info: [debug] Using adb from C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe
info: [debug] Parsing package and activity from app manifest
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\build-tools\android-4.4.2\aapt.exe
info: [debug] Extracting package and launch activity from manifest.
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\build-tools\android-4.4.2\aapt.exe” dump badging “C:\Users\Gaurav \Desktop\Appium_Workspace\apk_files\[email protected]
info: [debug] badging package: com.flipkart.android
info: [debug] badging act: com.flipkart.android.SplashActivity
info: [debug] Parsed package and activity are: com.flipkart.android/com.flipkart.android.SplashActivity
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Checking whether app is actually present
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices…
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” devices
info: [debug] 1 device(s) connected
info: Found device BH900KT45L
info: [debug] Setting device id to BH900KT45L
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L wait-for-device
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell “echo ‘ready’”
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 24
info: Device API level is: 24
info: [debug] Extracting strings for language: default
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell “getprop persist.sys.language”
info: [debug] Current device persist.sys.language:
info: [debug] java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “C:\Users\Gaurav \Desktop\Appium_Workspace\apk_files\[email protected]” “C:\Users\GAURAV~1\AppData\Local\Temp\com.flipkart.android”
info: [debug] Reading strings from converted strings.json
info: [debug] Setting language to default
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L push “C:\Users\GAURAV~1\AppData\Local\Temp\com.flipkart.android\strings.json” /data/local/tmp
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\build-tools\android-4.4.2\aapt.exe
info: [debug] Retrieving process from manifest.
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\build-tools\android-4.4.2\aapt.exe” dump xmltree “C:\Users\Gaurav \Desktop\Appium_Workspace\apk_files\[email protected]” AndroidManifest.xml
info: [debug] Set app process to: com.flipkart.android
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Checking app cert for C:\Users\Gaurav \Desktop\Appium_Workspace\apk_files\[email protected].
info: [debug] executing cmd: java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar” “C:\Users\Gaurav \Desktop\Appium_Workspace\apk_files\[email protected]
info: [debug] App not signed with debug cert.
info: [debug] Resigning apk.
info: [debug] executing cmd: java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\sign.jar” “C:\Users\Gaurav \Desktop\Appium_Workspace\apk_files\[email protected]” --override
info: [debug] Zip-aligning C:\Users\Gaurav \Desktop\Appium_Workspace\apk_files\[email protected]
info: [debug] Checking whether zipalign is present
info: [debug] Using zipalign from C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\build-tools\26.0.0\zipalign.exe
info: [debug] Zip-aligning apk.
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\build-tools\26.0.0\zipalign.exe” -f 4 “C:\Users\Gaurav \Desktop\Appium_Workspace\apk_files\[email protected]” C:\Users\GAURAV~1\AppData\Local\Temp\117525-8992-v9bpx5\appium.tmp
info: [debug] MD5 for app is d0d875c1d22262a3dcce148a9cc7ca75
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell “ls /data/local/tmp/d0d875c1d22262a3dcce148a9cc7ca75.apk”
info: [debug] Getting install status for com.flipkart.android
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 24
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell “pm list packages -3 com.flipkart.android”
info: [debug] App is installed
info: Installing App
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell “mkdir -p /data/local/tmp/”
info: [debug] Removing any old apks
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell “ls /data/local/tmp/*.apk”
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell rm “/data/local/tmp/8b31c7eab4f49f27ba65f9a0387f9e38.apk”
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L push “C:\Users\Gaurav \Desktop\Appium_Workspace\apk_files\[email protected]” /data/local/tmp/d0d875c1d22262a3dcce148a9cc7ca75.apk
info: [debug] Uninstalling com.flipkart.android
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell “am force-stop com.flipkart.android”
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L uninstall com.flipkart.android
info: [debug] App was uninstalled
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell “pm install -r /data/local/tmp/d0d875c1d22262a3dcce148a9cc7ca75.apk”
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device…
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L push “C:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar” /data/local/tmp/
info: [debug] Pushing settings apk to device…
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L install “C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk”
info: [debug] Pushing unlock helper app to device…
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L install “C:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk”
info: Starting App
info: [debug] Attempting to kill all ‘uiautomator’ processes
info: [debug] Getting all processes with ‘uiautomator’
info: [debug] executing cmd: “C:\Users\Gaurav \Desktop\Appium_Workspace\ADT\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe” -s BH900KT45L shell “ps ‘uiautomator’”
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
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: Could not pre-launch appium: Error: Could not extract PIDs from ps output. PIDS: , Procs: [“bad pid ‘uiautomator’”]

Appium server process ended

Above issue is being discussed here