Failed to start Appium session Error:Could not extract PIDs

Hi ,

I am new to appium test , i get the following error while starting the Appium (i use Android version 7.0) .Please suggest . Below is the log information

error: Failed to start an Appium session, err was: Error: Could not extract PIDs from ps output. PIDS: , Procs: [“bad pid ‘uiautomator’”]

info: [debug] Error: Could not extract PIDs from ps output. PIDS: , Procs: [“bad pid ‘uiautomator’”]
at C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:1059:17
at [object Object]. (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:180:9)
at ChildProcess.exithandler (child_process.js:742:7)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1016:16)
at Process.ChildProcess._handle.onexit (child_process.js:1088:5)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Could not extract PIDs from ps output. PIDS: , Procs: ["bad pid ‘uiautomator’"])”,“origValue”:“Could not extract PIDs from ps output. PIDS: , Procs: ["bad pid ‘uiautomator’"]”},“sessionId”:null}

Searching the forum, I’m seeing this:

Could be that you should update Appium but I don’t know what version you are currently using (log snippet too short).

Please help me in this erroe .how it can be solved?