[TIMOB-13084] Tizen : Run on emulator & device errors out with the tizen sdk version 2.0.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-03-24T01:21:37.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Tizen |
Labels | sdk-tizen |
Reporter | Lokesh Choudhary |
Assignee | Ingo Muschenetz |
Created | 2013-03-15T23:23:59.000+0000 |
Updated | 2014-06-19T12:42:38.000+0000 |
Description
Note: On the preview page the tizen sdk link to download is for 2.0.0a & this issue is for 2.0.0 version.
Everything works fine with sdk version 2.0.0a
Description:
1.Setup the tizen environment as per the preview page here: http://ec2-50-16-19-245.compute-1.amazonaws.com/studio/tizen/
2.Make sure you install tizen sdk version 2.0.0 & not 2.0.0a given on the preview page.
3.You can also download tizen sdk from here : https://developer.tizen.org/downloads/tizen-sdk
4.Launch the tizen emulator.
5.Open the latest nightly studio & create a default app with target as tizen
6.Run on emulator/device
Actual result:
1.The app builds but does not run on the emulator/device & gives the following log:
Titanium Command-Line Interface, CLI version 3.0.24, Titanium SDK version 3.1.0.v20130225195538
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
[INFO] : Compiling "development" build
[INFO] : Reading Titanium Mobile Web package.json file
[INFO] : Processing tiapp.xml for tizen node
[INFO] : <tizen> node. tizen app id:vexWAUg4AV
[INFO] : <tizen> node available.
[INFO] : Validating theme
[INFO] : Copying project files
[INFO] : Finding all Titanium API dependencies
[INFO] : Creating favicon and Apple touch icons
[INFO] : Finding all required modules to be cached
[INFO] : Finding all precached modules
[INFO] : Finding all precached images
[INFO] : No Titanium Modules required, continuing
[INFO] : Finding all distinct cached modules
[INFO] : Found 334 dependencies, 1 package, 336 modules
[INFO] : Assembling titanium.js
[INFO] : Processing splash screen
[INFO] : Assembling titanium.css
[INFO] : Creating the filesystem registry
[INFO] : Creating the index.html
[INFO] : createConfigXml
[INFO] : signing application in "C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new/build/tizen"
[INFO] : this.tizenCert = undefined
[INFO] : Signer commandline: "java -jar C:\Users\QEtester\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.v20130225195538\tizen\utils\signapp.jar -sig_proj C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new/build/tizen"
[INFO] : Packaging application into wgt
[INFO] : wgtPackaging7z buildDir "C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new/build/tizen"
[INFO] : reading file: C:\Users\QEtester\AppData\Local\tizen-sdk-data\tizensdkpath
[INFO] : Tizen SDK found at: C:\tizen-sdk
[INFO] : Forsing widget uninstall cmd: C:\tizen-sdk\tools\ide\bin\web-uninstall.bat --id=http:// --device=emulator-26100
[INFO] : Uninstall failed, 'http://' widget is not installed.
[INFO] : UnInstalled wgt failed
[INFO] : install cmd: C:\tizen-sdk\tools\ide\bin\web-run.bat --id=http:// --widget="C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new\build\tizen\tizenapp.wgt" --device=emulator-26100
[INFO] : E: Invalid usage [Unrecognized option: --widget=C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new\build\tizen\tizenapp.wgt]
[INFO] : Installed wgt: C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new\build\tizen\tizenapp.wgt
[INFO] : Project built successfully in 12s 644ms
Expected Result:
1.The app should run with out any problems on simulator/device
I verified the issue on windows, it builds but does not launch on emulator or device. It gives me the following logs: 1.Win 8 log:
2.Win 7 log:
original log in tickets shows that it try execute Tizen CLI 2.0.0a specific command on Tizen 2.0. As result it failed. It was fixed. Logs in Lockesh comment shows different issue. [INFO] : Executing: C:\tizen-sdk\tools\ide\bin\web-run.bat -t 10 -i sTF8u6GiTT --device=emulator-26100 [INFO] : 'sTF8u6GiTT' launch failed. As I see it try do execute Tizen CLI command. Command line for it was composed well. Here is Tizen CLI fail. Nothing to fix in Titanium code. If it can be reproduces we have to fill bug in Tizen jira.
wgt contains Tizen 2.0.0a info and it prevents installation on 2.0. Probably it here because older sdk added it into tiapp.xml How to fix: a) create project from scratch or b) edit tiapp.xml. remove node
Marking this ticket invalid as this issue occurs only for the projects created with an earlier SDK and we do not support project migration.
Closing the issue as it is invalid. Full clean install works fine.