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

Android™ Runtime Development

Reply
New Contributor
breon
Posts: 2
Registered: ‎11-22-2011
My Device: Playbook
My Carrier: NA

"Launch error: adb rejected command: device offline"

[ Edited ]

I've been able to successfully deploy my Android app to the simulator.  However, I haven't been able to deploy it to my actual Playbook.

 

I have the targets, debug tokens and everything else setup.  When I select Run As BlackBerry Android Launch, it complies, and the runtime starts on the device, but it never installs.

 

If I run adb devices, it shows the device, but offline.


Help

 

 

[2011-11-22 16:21:16 - cp_android] Launching BlackBerry Android Runtime...
[2011-11-22 16:21:49 - cp_android] Connecting to ADB...
[2011-11-22 16:21:50 - BlackBerry] connected to 172.16.42.175:5555
[2011-11-22 16:21:50 - cp_android] Deploying cp_android to target 172.16.42.175
[2011-11-22 16:22:18 - cp_android] Starting activity com.company.name.android.activity.SplashActivity on device 172.16.42.175:5555
[2011-11-22 16:22:18 - cp_android] Launch error: adb rejected command: device offline

 

Please use plain text.
New Contributor
breon
Posts: 2
Registered: ‎11-22-2011
My Device: Playbook
My Carrier: NA

Re: "Launch error: adb rejected command: device offline"

Computer reboot seemed to fix it.

Please use plain text.
Developer
vlasov01
Posts: 37
Registered: ‎01-07-2011
My Device: BB10 Dev Alpha, Playbook
My Carrier: Telus

Re: "Launch error: adb rejected command: device offline"

I was getting the same error. I've resolved it by using IP, linked to USB connection (169.254.0.1) instead of WiFi.

Please click the "kudos" in my post if I was able to help you on this issue.
Please mark thread as resolved if I was able to fix the issue!!
Twitter: @wiisniper
My Free Playbook Apps (no ads):
Speech timer Plus http://appworld.blackberry.com/webstore/content/83847/
Speech timer http://appworld.blackberry.com/webstore/content/34640/
Please use plain text.
New Contributor
szmidtka
Posts: 2
Registered: ‎11-29-2011
My Device: Blackberry Playbook
My Carrier: 9056787788

Re: "Launch error: adb rejected command: device offline"

[2011-11-30 00:23:49 - BlackBerry] unable to connect to 169.254.0.1:5555


What then?
Please use plain text.