Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15721] Tizen - Can't install to device or emulator from CLI - works from Studio. Both cases have unexpected console output

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-11-27T19:07:27.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 24, 2013 Sprint 24 Core, Release 3.3.0
ComponentsTizen
Labelscli, exempt, qe-3.2.0, qe-closed-3.2.0, qe-testadded
ReporterOlga Romero
AssigneePraveen Innamuri
Created2013-11-14T23:17:04.000+0000
Updated2014-07-31T17:03:10.000+0000

Description

When executing Run> Tizen Device, using Studio Global ToolBar, the app is being built and installed successfully onto device. However, the Studio console returns
[INFO] :   CLI command failed with error output:
[INFO] :   
If we execute the shell Running process
"/usr/local/bin/titanium" "--no-colors" "--no-progress-bars" "--no-prompt" "build" "--platform" "tizen" "--device=0000cbd40000ad1e" "--keystore=/Users/oromero/tizen-sdk-data/keystore/author/Keystore.p12" "--password=**********" "--sdk" "3.2.0.v20131113183932" "--log-level" "trace" "--keystoreca=/Users/oromero/tizen-sdk/tools/certificate-generator/certificates/developer/tizen-developer-ca.cer"
via terminal, it failed with
[INFO]  CLI command failed with error output:
[INFO]   
[INFO]  Executing: /Users/oromero/tizen-sdk/tools/ide/bin/web-install -t 10  --widget="/Users/oromero/Documents/Titanium_Studio_Workspace2/wils/build/tizen/tizenapp.wgt" --device=0000cbd40000ad1e
[INFO]  'tizenapp.wgt' file transfer successful.
'nNlyHzZOGl.wils' install failed.
Refer to Help contents > Getting Started with Tizen > Overview > Privilege.

[INFO]  CLI command failed with error output:
[INFO]   
[INFO]  Executing: /Users/oromero/tizen-sdk/tools/ide/bin/web-run -t 10 -i nNlyHzZOGl.wils --device=0000cbd40000ad1e
[INFO]  'nNlyHzZOGl.wils' launch failed.

[INFO]  CLI command failed with error output:
[INFO]   
[LiveView] No active servers
[INFO]  Project built successfully in 8s 497ms
and the app is not installed on device. If we have the app installed on device and execute "ti build" command via Terminal, the app has been uninstalled and build failed.

Attachments

FileDateSize
console.txt2013-11-14T23:17:05.000+000026708
log.txt2013-11-14T23:17:05.000+0000105897
tizen-console.txt2013-11-27T05:34:21.000+000055680

Comments

  1. Ingo Muschenetz 2013-11-15

    [~oromero] To confirm, you used the _identical_ command for both Studio and CLI, i.e. ran it inside Studio, copied the command from the log file and then re-ran that in a terminal? If not, what was the difference?
  2. Olga Romero 2013-11-15

    [~ingo] Yes, this is exactly what I did. If running the command
       ti build -p tizen -D development
       
    the result is
       [INFO]  Project built successfully in 1s 967ms
       
    but the app is not installed to emulator For the device: Go to the folder \tizen-sdk\tools. And type following command.
       sdb devices
       
    It will give list of device attached Run command
       ti build -p tizen -E 0000cbd40000ad1e
       
    The output is the same, as you would copy the command from the studio log and run it. To see all tizen build options please run
    ti build -h 
  3. Praveen Innamuri 2013-11-27

    Verified with latest Studio, CLI/SDK RC builds of 3.2.0 and Tizen2.2. After I configure the certificates and keystore password, I'm able to run Tizen app on the emulator without any issues. I ran the same command on terminal, and the tizen app launches on simulator perfectly. "/usr/local/bin/titanium" "--no-colors" "--no-progress-bars" "--no-prompt" "build" "--platform" "tizen" "--device=emulator-26101" "--keystore=/Users/pinnamuri/tizen-sdk-data/keystore/author/pkey_tizen.p12" "--password=password123" "--sdk" "3.2.0.v20131125101644" "--log-level" "trace" Attached the console output after the running the above command.
  4. Olga Romero 2013-11-27

JSON Source