06-02-2012 02:36 PM
Hello,
I have a "working" environment for compiling and signing my apps on my computer(latest webworks sdk 2).
Now I've tried to compile my app using bb10 webworks, but it doesn't seem to find my keys.
The old webworks sdk is installed in d:\program files(x86) and bb10 is installed in d:\program files
I can confirm that I have author.p12 barsigner.csk and barsigner.db in %HOMEPATH%\AppData\Local\Research In Motion and in d:\Research in Motio(this folder created automatically in d: drive).
If I run:
D:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.7>"D:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.7\dependencies\node\node.exe" "D:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.7\lib\bbwp.js" samples.zip -g <mypass> --buildId 10 -o C:\test\
(samples.zip being the lates bbUI.js with added id in config.xml):
I get this:
[INFO] Populating application source
[INFO] Parsing config.xml
[ERROR] Cannot sign application - failed to find signing keys
Where does it look for keys the bb10 sdk? Do I need to change my keys to use the new bb10? If so, it means I won't be able to update my app to run on bb10, without posting it again on AppWorld?(That's what I think it happens if you loose your keys).
Thanks in advance,
Andrei
Solved! Go to Solution.
06-05-2012 11:26 AM
It should look for them in the %HOMEPATH% directory you said contained them. What OS are you using? What does %HOMEPATH% actually resolve to?
06-05-2012 12:01 PM
%HOMEPATH% resolves to C:\Users\Andrei
Should I copy the keys in the root of this directory also?
06-05-2012 12:59 PM
That should be the right place. You should be using bbwp to package the application, not node.exe.
Try using the command line outlined here: https://developer.blackberry.com/html5/documentati
06-05-2012 01:26 PM
06-05-2012 03:29 PM
What directory is samples.zip in when you run that command?
06-05-2012 05:06 PM
06-07-2012 03:35 PM
The SDK path should be like this: C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.15
The one other thing that we were thinking is that the sdk might be expecting to be on the same drive as the keys. The script doesn't look like that should be happening, but it's a possibility and I don't know if that's been tested.
06-08-2012 06:00 AM
I am gettting similar sort of issue,
D:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.7>bbwp E:\A ppBB10\HelloWorldBB10.zip -s E:\PackBB10 -g Pass123# -o E:\OutputBB10 D:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.7>"D:\Progr am Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.7\dependencies\node \node.exe" "D:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0 .7\lib\bbwp.js" E:\AppBB10\HelloWorldBB10.zip -s E:\PackBB10 -g Pass123# -o E:\O utputBB10 [INFO] Populating application source [INFO] Parsing config.xml [ERROR] Cannot sign application - failed to find signing keys D:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.7>
I cant find out the reason for this error
Regards
Rakesh Shankar.P
06-08-2012 04:37 PM
Your signing keys (and User directory) are also installed in C: I would assume?