Search code examples
androidtitaniumappcelerator

Appcelerator [ERROR] : Invalid "--device-id" value


I'm building hello world application in Appcelerator studio. App starts OK in "Mobile Web Preview in Browser" and android emulator. When I'm trying to run it on my device I'm getting error:

[ERROR] :  Invalid "--device-id" value "TA93002AYM"
TRACE  | titanium exited with exit code 1
ERROR  | Error: ti run exited with error code 1
    at ChildProcess.<anonymous> (C:\Users\user\.appcelerator\install\4.0.2\package\node_modules\appc-cli-titanium\plugins\run.js:84:66)
    at ChildProcess.emit (events.js:110:17)
    at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
[ERROR] Application Installer abnormal process termination. Process exit value was 1

I get the same result with Titanium SDK 3.5.0 and 4.0.0. I have tried to restart computer, restart appcelerator studio, refresh project, clean project...nothing helps. Any suggestions?


Solution

  • Thank you Robin for pointing me to the right direction. adb devices -l revealed me that device was unauthorized. Killing adb and starting it again forced my phone to show USB debug prompt again.