Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

Reply
Developer
zubair01
Posts: 70
Registered: ‎04-08-2011
My Device: BB 4 and BB 5.0
My Carrier: BB Curve

'Blackberry-deploy' is not recognized as an internal or external error

[ Edited ]

Hi! I am deploying my first BB app, and getting the error at command prompt

 

'Blackberry-deploy' is not recognized as an internal or external error...............

 

I have set the java path through cmd and also tried through enviorment variable

 

path=C:\Program Files\Java\jdk1.6.0_24\bin

 

...sdk>blackberry-deploy -installApp -device 192.168.142.129 -pakage "c:\ab\test.bar" -password a

 

but still getting the same error

 

thanks

Please use plain text.
Developer
zubair01
Posts: 70
Registered: ‎04-08-2011
My Device: BB 4 and BB 5.0
My Carrier: BB Curve

Re: 'Blackberry-deploy' is not recognized as an internal or external error

I am getting the error during installation of app, I have compiled the app successfully in .bar extension

Please use plain text.
Developer
zubair01
Posts: 70
Registered: ‎04-08-2011
My Device: BB 4 and BB 5.0
My Carrier: BB Curve

Re: 'Blackberry-deploy' is not recognized as an internal or external error

[ Edited ]

Someone please help me, I can't install the app on simulator, getting this error?

 

bbimage.jpg

Please use plain text.
Developer
greenback
Posts: 519
Registered: ‎10-17-2010
My Device: BlackBerry Z10, DAC

Re: 'Blackberry-deploy' is not recognized as an internal or external error

[ Edited ]

zubair01,

 

I had a similar issue. Here are the solutions.

Cause 1: Misspelled command "package"

Current (from Screenshot)
C:\Program Files\Research In Motion\BlackBerry WebWorks Packager for Playbook\bbwp\blackberry-tablet-sdk

 

blackberry-deploy -installApp -device 192.168.142.129 -pakage "E:\projects\test\testApp.bar" -password a


Solution

blackberry-deploy -installApp -device 192.168.142.129 -package "E:\projects\test\testApp.bar" -password a

 

Cause 2: Invalid Directory

The directory you are currently running the "blackberry-deploy" command is:

C:\Program Files\Research In Motion\BlackBerry WebWorks Packager for Playbook\bbwp\blackberry-tablet-sdk

 


Solution

I made a screenshot of the directory structure where you can initiate the "blackberry-deploy" command.


BlackBerry Deploy Command Solution Screenshot



Please view the screenshot as reference.


Basically, you will most likely just have to move go into the "bin" directory from the "blackberry-tablet-sdk" directory. Verify that you see something similar to the above.


 

 

// from the blackberry-tablet-sdk directory

---------------------------------------------
blackberry-tablet-sdk>cd bin

 

Run the second command. Make sure you have the spelling corrected.

:Batman:

Please use plain text.
Super Contributor
lyon819
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.
My Carrier: TT

Re: 'Blackberry-deploy' is not recognized as an internal or external error

Find the blackberry-deploy under the path.

 

C:\bbndk\host_10_0_9_52\win32\x86\usr\bin

 

 

Cheers,

 

 

 

-Fight with BB10
Please use plain text.