[TIMOB-12899] Blackberry : Not able to run BlackBerry apps on device & simulator on win 8, giving errors
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-03-22T22:30:14.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Russell McMahon |
Created | 2013-02-28T22:53:09.000+0000 |
Updated | 2014-06-19T12:43:04.000+0000 |
Description
This might be related to BB sdk version or simulator version or user error, I am working to figure out what is causing the error & will comment accordingly
Description:
1.Launch the studio.
2.Create an app for Blackberry
3.Run on device
Actual Result:
1.We get the following error in the console for device:
[INFO] Running
[INFO] Command: blackberry-nativepackager.bat -package C:\Users\QEtester\Desktop\tistud\tistud-nightly-blackberry\bb_workspace\default\build\blackberry\arm\o.le-v7-g\default.bar bar-descriptor.xml -e C:\Users\QEtester\Desktop\tistud\tistud-nightly-blackberry\bb_workspace\default\build\blackberry\arm\o.le-v7-g\default default -buildID 1 assets framework -devMode -debugToken C:\Users\QEtester\Desktop\blackberry\bbndk\host_10_0_9_404\win32\x86\usr\bin\debugtoken.bar
Info: Package created: C:\Users\QEtester\Desktop\tistud\tistud-nightly-blackberry\bb_workspace\default\build\blackberry\arm\o.le-v7-g\default.bar
[INFO] Command: blackberry-deploy.bat -installApp -launchApp -device 169.254.2.9 -package C:\Users\QEtester\Desktop\tistud\tistud-nightly-blackberry\bb_workspace\default\build\blackberry\arm\o.le-v7-g\default.bar -password password
Info: Sending request: Install and Launch
Info: Action: Install and Launch
Info: File size: 7593365
Info: Installing com.app.def.testDev_com_app_def1c7e6f4b...
Info: Processing 7593365 bytes
actual_dname::
actual_id::
actual_version::
result::failure 821 Application-Requires-System: unrecognized system name 'BlackBerry 10'
Command '['blackberry-deploy.bat', '-installApp', '-launchApp', '-device', u'169.254.2.9', '-package', u'C:\\Users\\QEtester\\Desktop\\tistud\\tistud-nightly-blackberry\\bb_workspace\\default\\build\\blackberry\\arm\\o.le-v7-g\\default.bar', '-password', u'password']' returned non-zero exit status 2 None
3.For simulator:
[INFO] Building
c:\users\qetester\appdata\local\temp\tmpbtsre7\tibb\arm a.le-v7
c:\users\qetester\appdata\local\temp\tmpbtsre7\tibb\arm a.le-v7-g
c:\users\qetester\appdata\local\temp\tmpbtsre7\tibb include
c:\users\qetester\appdata\local\temp\tmpbtsre7\tibb\titanium javascript
c:\users\qetester\appdata\local\temp\tmpbtsre7\tibb x86
c:\users\qetester\appdata\local\temp\tmpbtsre7\tibb\x86 a-g
c:\users\qetester\appdata\local\temp\tmpbtsre7\libv8\lib arm
c:\users\qetester\appdata\local\temp\tmp_hwepd arm
c:\users\qetester\appdata\local\temp\tmp_hwepd\arm o.le-v7
c:\users\qetester\appdata\local\temp\tmp_hwepd\arm o.le-v7-g
c:\users\qetester\appdata\local\temp\tmp_hwepd framework
c:\users\qetester\appdata\local\temp\tmp_hwepd x86
c:\users\qetester\appdata\local\temp\tmp_hwepd\x86 o-g
make -j 1 -Cx86 -fMakefile
make[2]: Entering directory c:/users/qetester/appdata/local/temp/tmp_hwepd/x86/o-g'
C:/Users/QEtester/Desktop/blackberry/bbndk/host_10_0_9_404/win32/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall -fstack-protector-all -D_FORTIFY_SOURCE=2 -I. -Ic:/users/qetester/appdata/local/temp/tmp_hwepd/x86/o -Ic:/users/qetester/appdata/local/temp/tmp_hwepd/x86/o-g -Ic:/users/qetester/appdata/local/temp/tmp_hwepd/x86 -Ic:/users/qetester/appdata/local/temp/tmp_hwepd -IC:/Users/QEtester/Desktop/blackberry/bbndk/target_10_0_9_1673/qnx6/usr/include/freetype2 -IC:/Users/QEtester/Desktop/blackberry/bbndk/target_10_0_9_1673/qnx6/../target-override/usr/include -Ic:\users\qetester\appdata\local\temp\tmpbtsre7/libv8/include -Ic:\users\qetester\appdata\local\temp\tmpbtsre7/tibb/include -IC:/Users/QEtester/Desktop/blackberry/bbndk/target_10_0_9_1673/qnx6/usr/include -g -DVARIANT_g -DBUILDENV_qss c:/users/qetester/appdata/local/temp/tmp_hwepd/main.cpp
C:/Users/QEtester/Desktop/blackberry/bbndk/host_10_0_9_404/win32/x86/usr/bin/rm -f c:/users/qetester/appdata/local/temp/tmp_hwepd/x86/o-g/default
make[2]: Leaving directory
c:/users/qetester/appdata/local/temp/tmp_hwepd/x86/o-g'
make[1]: Leaving directory `c:/users/qetester/appdata/local/temp/tmp_hwepd/x86'
C:\Users\QEtester\Desktop\tistud\tistud-nightly-blackberry\bb_workspace\default\build\blackberry arm
C:\Users\QEtester\Desktop\tistud\tistud-nightly-blackberry\bb_workspace\default\build\blackberry\arm o.le-v7-g
C:\Users\QEtester\Desktop\tistud\tistud-nightly-blackberry\bb_workspace\default\build\blackberry assets
C:\Users\QEtester\Desktop\tistud\tistud-nightly-blackberry\bb_workspace\default\build\blackberry\x86 o
Error removing temporary file
[INFO] Command: blackberry-nativepackager.bat -package C:\Users\QEtester\Desktop\tistud\tistud-nightly-blackberry\bb_workspace\default\build\blackberry\x86\o-g\default.bar bar-descriptor.xml -e C:\Users\QEtester\Desktop\tistud\tistud-nightly-blackberry\bb_workspace\default\build\blackberry\x86\o-g\default default -buildID 1 assets framework -devMode
Info: Package created: C:\Users\QEtester\Desktop\tistud\tistud-nightly-blackberry\bb_workspace\default\build\blackberry\x86\o-g\default.bar
Info: Action: Install and Launch
Info: Installing com.app.def.testDev_com_app_def1c7e6f4b...
actual_dname::
actual_id::
actual_version::
Command '['blackberry-deploy.bat', '-installApp', '-launchApp', '-device', u'192.168.239.128', '-package', u'C:\\Users\\QEtester\\Desktop\\tistud\\tistud-nightly-blackberry\\bb_workspace\\default\\build\\blackberry\\x86\\o-g\\default.bar', '-password', u'password']' returned non-zero exit status 2 None
Expected result:
1.Should be able to run app on both simulator & device
Updating the simulator to the latest seems to fix the issue.Updating the device OS to check if it fixes the issue on the device side.
Updating the device to latest BB 10 version fixed the issue. Thus closing.