bunjeeb
bunjeeb

Reputation: 1145

Cannot Build and Install Html App using Web Works 2.1 on Device

I'm new in BB Development and I want to test my application on Z3 Device ...

  1. I installed WebWorks 2.1
  2. Then request the bbidtoken.csk file, and I created author.p12 using WebWorks UI.
  3. I enabled Developer Mode on Device.
  4. Also I generated debug token debugtoken.bar using Command line tool.
  5. I deployed debugtoken.bar on my Z3 device.
  6. All files author.p12, barsigner.db, bbidtoken.csk, debugtoken.bar in this path: "C:\Users\user1\AppData\Local\Research In Motion"
  7. I created Project using WebWorks UI and by default its located in "C:\Users\user1\WebWorks Projects\Project1"
  8. I tried to Build my "Project1" app from WebWorks UI, but this error comes to me:

    [INFO] Populating application source [INFO] Parsing config.xml [INFO] Generating output files [INFO] Error: Debug token does not exist or not a file [INFO] Error: Debug token does not exist or not a file [ERROR] Native Packager exception occurred [ERROR] Native Packager exception occurred

    An error has occurred

What did I forget to do????!?!

Upvotes: 1

Views: 176

Answers (1)

Rohit Rathod
Rohit Rathod

Reputation: 118

Rename your debugtoken.bar to blackberry10debugtoken.bar and place it inside .cordova folder under %user% and build again. This is one time activity after this you can use BB10 Webworks web interface for direct building and installation of application.Please do not forget to mark it as answer if you got this as your solution :) I hope it helps!!!

Upvotes: 1

Related Questions