blackberry phonegap sample application not able to deploy on device...

290 views
Skip to first unread message

Ravi

unread,
Jun 2, 2012, 8:12:21 AM6/2/12
to phonegap
Hi
I m new in phonegap.
i run my sample blackberry code in blackberry simulation then it run
successfully but same thing when i m going to do with device
by command
> ant blackberry load-device

then it gives following:


C:\phonegap-bb\lib\blackberry\sample>ant blackberry load-device
Unable to locate tools.jar. Expected to find it in C:\Program Files
\Java\jre6\li
b\tools.jar
Buildfile: C:\phonegap-bb\lib\blackberry\sample\build.xml

blackberry:

load-device:

generate-cod-name:
[echo] Generated name: CordovaSample.cod

clean:
[delete] Deleting directory C:\phonegap-bb\lib\blackberry\sample
\build

package-app:
[mkdir] Created dir: C:\phonegap-bb\lib\blackberry\sample\build
\widget
[copy] Copying 8 files to C:\phonegap-bb\lib\blackberry\sample
\build\widget

[zip] Building zip: C:\phonegap-bb\lib\blackberry\sample\build
\CordovaSamp
le.zip

load-device:
[exec] [INFO] Parsing command line options
[exec] [INFO] Parsing bbwp.properties
[exec] [INFO] Validating application archive
[exec] [INFO] Parsing config.xml
[exec] [WARNING] Failed to find the <author>
element
[exec] [INFO] Populating application source
[exec] [INFO] Compiling BlackBerry WebWorks
applicatio
n
[exec] [INFO] Starting signing tool
[exec] [INFO] Signing complete
[exec] [INFO] Generating output files
[exec] [INFO] BlackBerry WebWorks
application packagin
g complete
[exec] RIM Wireless Handheld Java Loader
[exec] Copyright 2001-2009 Research In Motion Limited
[exec] Connecting to device...debug: HRESULT error during Open:
80040154
[exec] Error: unable to open port

BUILD FAILED
C:\phonegap-bb\lib\blackberry\sample\build.xml:27: The following error
occurred
while executing this line:
C:\phonegap-bb\lib\blackberry\sample\blackberry.xml:35: exec returned:
3

Total time: 1 minute 37 seconds


Please help me to run my sample application in blackberry device too.
thanks

Ravi

unread,
Jun 4, 2012, 9:55:55 AM6/4/12
to phonegap
Hi
I solved this problem in my own way.... just installed the setup of Blackberry Desktop Manager.... 
by this it run and work properly in blackberry device.

Thanks
--
-Regards,
 Ravi Katiyar

Reply all
Reply to author
Forward
0 new messages