Closed Bug 936909 Opened 11 years ago Closed 10 years ago

Firefox-OS app manager cant connecting via adb-helper plugin

Categories

(DevTools Graveyard :: WebIDE, defect)

27 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lostinwar22, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20131110004002

Steps to reproduce:

installed aurora, then app manager, adb-helper plugin

connect the KEON device via USB


Actual results:

got a full_keon button on the bottom

clicked on that and:

18:23:19: connecting to localhost:53777
18:23:19: connection error. Possible causes: USB port not connected, port not forwarded (adb forward), wrong host or port, remote debugging not enabled on the device.

18:26:42: connecting to localhost:54680
18:26:42: connection error. Possible causes: USB port not connected, port not forwarded (adb forward), wrong host or port, remote debugging not enabled on the device.




Expected results:

connecting the phone (KEON) to my app manager
Component: Untriaged → Developer Tools: App Manager
The following steps must be done on the device (must have Firefox OS 1.2 or more):
- In device's Settings, disable Screen Lock (Settings > Screen Lock) and enable Remote Debugging (Settings > Device information > More information > Developer)

You can find more info at this link https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Using_the_App_Manager

Please let us know how it worked. Thanks!
Flags: needinfo?(lostinwar22)
my device can be found by app Manager, but  connection error. Possible causes: USB port not connected, port not forwarded (adb forward), wrong host or port, remote debugging not enabled on the device. 
I have do all require steps in device:
1.Screen Lock disabled
2.Developer open remotr debug
3. pc terminal:adb forward tcp:6000 localfilesystem:/data/local/debugger-socket
Steve, are you using ADB Helper add-on[1]?  I would recommend using the add-on, as it is much simpler than using the command manually.

If you are using the add-on, you don't want to run the adb command from your step 3, as it will override what the add-on is doing.

If you're still having trouble, try joining the #devtools room on irc.mozilla.org, as it tends to be easier to diagnose these issues in real time.

[1]: https://ftp.mozilla.org/pub/mozilla.org/labs/fxos-simulator/
Flags: needinfo?(xuxiake2012)
yes,I install adb Helper.

just run step 1 and setp 2,it works fine! Thanks!
Flags: needinfo?(xuxiake2012)
I have done the step1 and step 2, but it dosn't work.
Then I did the three step but it also is the same bug.

My device is ZTE  and the version of Firefox OS is 1.0,  can I connect it?
While connecting I see "connection error. Possible causes: USB port not connected, port not forwarded (adb forward), wrong host or port, remote debugging not enabled on the device."  Is the version of Firefox OS too old ? Or something wrong on my operation ?  
I'm waiting someone's answer, Please !
(In reply to 鲍志强 from comment #5)
> Is the version of Firefox OS too old? Or something wrong on my operation ?  
> I'm waiting someone's answer, Please !

The device must run at least Firefox OS 1.2, so you need to upgrade it.

Please see more information in the below link:
https://developer.mozilla.org/en-US/Firefox_OS/Using_the_App_Manager#Firefox_1.2.2B_required
I compiled the firefox OS on my computer.  While running on the dalvik and the firefox OS shows its version is 1.3.0.0-perrelease.  And it alse can't connect the app manager  and it shows the same problem.
Is the emulator compiled by users can't connect the firefox app manager ?
Flags: needinfo?
(In reply to petruta.rasa from comment #6)
> (In reply to 鲍志强 from comment #5)
> > Is the version of Firefox OS too old? Or something wrong on my operation ?  
> > I'm waiting someone's answer, Please !
> 
> The device must run at least Firefox OS 1.2, so you need to upgrade it.
> 
> Please see more information in the below link:
> https://developer.mozilla.org/en-US/Firefox_OS/
> Using_the_App_Manager#Firefox_1.2.2B_required

I compiled the firefox OS on my computer.  While running on the dalvik and the firefox OS shows its version is 1.3.0.0-perrelease.  And it alse can't connect the app manager  and it shows the same problem.
Is the emulator compiled by users can't connect the firefox app manager ?
(In reply to 鲍志强 from comment #7)
- The ADB add-on must be installed:
https://ftp.mozilla.org/pub/mozilla.org/labs/fxos-simulator/
- In the Settings of your device, disable Screen Lock (Settings > Screen Lock) and enable Remote Debugging (Settings > Device information > More information > Developer)  

What operating system are you using?
Flags: needinfo?
(In reply to petruta.rasa from comment #9)
> (In reply to 鲍志强 from comment #7)
> - The ADB add-on must be installed:
> https://ftp.mozilla.org/pub/mozilla.org/labs/fxos-simulator/
> - In the Settings of your device, disable Screen Lock (Settings > Screen
> Lock) and enable Remote Debugging (Settings > Device information > More
> information > Developer)  
> 
> What operating system are you using?

I am using both Mac and ubuntu12.04 64-bit, and come across the tham problem
Flags: needinfo?
(In reply to 鲍志强 from comment #10)
> (In reply to petruta.rasa from comment #9)
> > (In reply to 鲍志强 from comment #7)
> > - The ADB add-on must be installed:
> > https://ftp.mozilla.org/pub/mozilla.org/labs/fxos-simulator/
> > - In the Settings of your device, disable Screen Lock (Settings > Screen
> > Lock) and enable Remote Debugging (Settings > Device information > More
> > information > Developer)  
> > 
> > What operating system are you using?
> 
> I am using both Mac and ubuntu12.04 64-bit, and come across the tham problem

Check the troubleshooting[1] steps on the wiki first.

If you're still having trouble, try joining the #devtools room on irc.mozilla.org, as it tends to be easier to diagnose these issues in real time.

[1]: https://developer.mozilla.org/en-US/Firefox_OS/Using_the_App_Manager#Troubleshooting
Flags: needinfo?
There's been no response here for some time, so resolving for now.  Reopen or refile if this is still an issue.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.