MSPSS: is there life after the helpdesk?

sharing solutions to uncommon IT problems

Errors while building your first phonegap/Cordova project

with 4 comments


When creating your first PhoneGap project you might bump in several errors. The documentation is rather confusing and made by someone whose obviously been using this program long enough to take most things for granted. I post below my notes on every error I encountered and fixed. I hope this helps:

“Cannot find C:\BlackBerry 10 WebWorks SDK 1.0.1.17\bbwp.exe. Please edit ‘blackberry.bbwp.dir’ in your ‘project.properties’ file”
Strangely enough, by default, Cordova is configured to use a bbwp.exe which does’t actually exist in the blackberry SDK.
In your project, open blackberry.xml and change
bbwp.exe into bbwp.bat

“C:\Program Files (x86)\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.1.17\simpack does not exist.”
If you have update correctly the variable blackberry.sim.dir then you also have to update the blackberry.xml (this step for some reason is not documented).
Change {properties.blackberry.bbwp.dir}/simpack into {properties.blackberry.sim.dir}/

“C:\Program Files (x86)\Cordova\lib\blackberry\sample\build\StandardInstall does not exist.”
It seems that blackberry.xml simply misconfigured and they forgot to create this folder.
Add

“The directory C:\Program Files (x86)\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.1.17\mds does not exist”
I had to install “BlackBerry® Email and MDS Services Simulator” and then register the “blackberry.mds.dir” in the project.properties/

Now the project ran successfully.

Advertisements

Written by zantoro

September 14, 2012 at 1:24 pm

Posted in Uncategorized

Tagged with , ,

4 Responses

Subscribe to comments with RSS.

  1. Hi,

    when you said:

    “C:\Program Files (x86)\Cordova\lib\blackberry\sample\build\StandardInstall does not exist.”
    It seems that blackberry.xml simply misconfigured and they forgot to create this folder.
    Add

    Where do we add it? As everytime I run the load-simulator, it look like it overwrite the build folder of my phonegap sample?

    Please help!

    Steve

    Steve

    November 1, 2012 at 7:05 pm

    • Hello,
      sorry for taking this long to answer… you simply have to manually create the folder in that location.
      Anyway, frankly, I gave up using Cordova and moved to Ripple instead (easier to install and use).
      Let me know if you still have problems and I’ll try to be quicker this time.

      zantoro

      November 11, 2012 at 2:54 pm

      • Hi, thanks for your response.

        I finally figure out how to do it last week, but instead of creating the folder manually, I have edit the .xml file and add a rules that now always create the folder.

        Everything work fine now, but BlackBerry simulator are really slow to start…. nothing in compare with iOS simulator.

        THanks

        Steve

        November 11, 2012 at 5:43 pm

  2. i add manually but if i run and blackberry load-simulator the folder disappear and same error. StandardInstall does not exist.. help me

    manikandan

    August 20, 2013 at 1:57 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: