[TIMOB-15721] Tizen - Can't install to device or emulator from CLI - works from Studio. Both cases have unexpected console output
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-11-27T19:07:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 24, 2013 Sprint 24 Core, Release 3.3.0 |
Components | Tizen |
Labels | cli, exempt, qe-3.2.0, qe-closed-3.2.0, qe-testadded |
Reporter | Olga Romero |
Assignee | Praveen Innamuri |
Created | 2013-11-14T23:17:04.000+0000 |
Updated | 2014-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
File | Date | Size |
---|---|---|
console.txt | 2013-11-14T23:17:05.000+0000 | 26708 |
log.txt | 2013-11-14T23:17:05.000+0000 | 105897 |
tizen-console.txt | 2013-11-27T05:34:21.000+0000 | 55680 |
[~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?
[~ingo] Yes, this is exactly what I did. If running the command
the result is
but the app is not installed to emulator For the device: Go to the folder \tizen-sdk\tools. And type following command.
It will give list of device attached Run command
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
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.