Reputation: 11
i have installed webworks for blackberry 10 in widows 8, but i am not able to open up projects from the web tool. i am always getting the "invalid project" error. Any one have an idea on how to solve this
Upvotes: 0
Views: 197
Reputation: 1885
The format of your project must be compatible with the SDK. If you created an old project using version 1.0 of the WebWorks SDK for BB10, then it is not compatible. Version 2.0 introduced major changes to align with Cordova, which made changes to how project folders are structured.
You can fix this by first creating a default project using the new format, copying in your existing assets, and then open that project using the GUI:
Ensure the BlackBerry 10 WebWorks SDK 2.0 is correctly installed.
Open a command prompt (windows) or terminal (mac) and run the following command:
webworks create <your source folder>\YourApp
Replace the default YourApp\www folder with the \www folder from your existing project
Use the Web tool to open the YourApp project
Hope that helps.
Upvotes: 1