03-01-2013 08:52 AM
I am trying to build sample BB10 webworks app using example provided in phonegap's blackberry folder.
I am following the exact steps provided in phongap's getting started guide.
When I run ant qnx build command in terminal i got follwing response.
[echo] Generated name: cordovaExample.bar
[mkdir] Created dir: /Users/XYZ/Desktop/example/build/widget
[copy] Copying 25 files to /Users/XYZ/Desktop/example/build/widget
[copy] Copying 3 files to /Users/XYZ/Desktop/ABC/Downloads/RIM/Blackberry_We
[zip] Building zip: /Users/XYZ/Desktop/example/build/cordovaExample.zi
[exec] [ERROR] Invalid command line argument "--loglevel"
I am getting .zip file in build folder instead of .bar file.
I am using:
Mac OS: 10.7.5
jdk: 7 Update 15
Please give your valuable suggestions if I am missing something.
Solved! Go to Solution.
03-04-2013 10:36 AM
I would use the latest SDK just because, why not?
As far as the process to get it up and running on BB10, take a look at these resources
03-05-2013 02:18 AM
I replaced my older BB10 WebWorks with the latest available one and now everything is working perfectly fine.
Now able to build and load .bar file to simulator.