Getting error on install settings_apk_debug.apk while launching appium first time withreal device.

Appium Logs :

> info: [debug] executing cmd: D:\Cherrey\sdk\platform-tools\adb.exe -s Mi498HA14090346 push “D:\\Appium\\Appium\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar” /data/local/tmp/
> info: [debug] Pushing settings apk to device…
> info: [debug] executing cmd: D:\Cherrey\sdk\platform-tools\adb.exe -s Mi498HA14090346 install “D:\Appium\Appium\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk”
> info: [debug] Stopping logcat capture
> info: [debug] Logcat terminated with code null, signal SIGTERM
> info: [debug] Sent shutdown command, waiting for UiAutomator to stop…
> error: Failed to start an Appium session, err was: Error: Command failed: C:\Windows\system32\cmd.exe /s /c “D:\Cherrey\sdk\platform-tools\adb.exe -s Mi498HA14090346 install “D:\Appium\Appium\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk””
>
> warn: UiAutomator did not shut down fast enough, calling it gone
> info: [debug] Cleaning up android objects
> info: [debug] Cleaning up appium session
> info: [debug] Error: Command failed: C:\Windows\system32\cmd.exe /s /c “D:\Cherrey\sdk\platform-tools\adb.exe -s Mi498HA14090346 install “D:\Appium\Appium\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk””
>
> at ChildProcess.exithandler (child_process.js:751:12)
> 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: Command failed: C:\\Windows\\system32\\cmd.exe /s /c \”D:\\Cherrey\\sdk\\platform-tools\\adb.exe -s Mi498HA14090346 install \”D:\\Appium\\Appium\\Appium\\node_modules\\appium\\build\\settings_apk\\settings_apk-debug.apk\”\”\n)”,”killed”:false,”code”:3221226356,”signal”:null,”cmd”:”C:\\Windows\\system32\\cmd.exe /s /c \”D:\\Cherrey\\sdk\\platform-tools\\adb.exe -s Mi498HA14090346 install \”D:\\Appium\\Appium\\Appium\\node_modules\\appium\\build\\settings_apk\\settings_apk-debug.apk\”\””,”origValue”:”Command failed: C:\\Windows\\system32\\cmd.exe /s /c \”D:\\Cherrey\\sdk\\platform-tools\\adb.exe -s Mi498HA14090346 install \”D:\\Appium\\Appium\\Appium\\node_modules\\appium\\build\\settings_apk\\settings_apk-debug.apk\”\”\n”},”sessionId”:null}
> info: <– POST /wd/hub/session 500 15936.161 ms – 835

Default Asked on January 21, 2016 in Appium.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.