【发布时间】:2015-06-13 08:30:37
【问题描述】:
我需要在 Firefox 中为“Android”调试一个 Web 应用程序。我正在尝试将设备连接到桌面 Firefox,但总是收到错误“意外错误”。
我已经执行了https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Firefox_for_Android的所有步骤
我安装了 Android SDK 工具和平台,使用 adb 命令正确检测到设备。
我在桌面版 Firefox 和 Firefox for Android 上启用了远程调试
我在设备上启用了远程 USB 调试。
设备已连接到我的 PC 的原始电缆。
我在命令行上运行命令 adb forward tcp:6000 tcp:6000 没有问题。
最后,开发者桌面 Firefox 菜单,我选择了连接选项。页面出现连接localhost:6000,点击“连接”按钮,出现错误“unexpected error”。
有什么想法吗?
【问题讨论】:
标签: android debugging firefox adb