• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

mozilla/adbhelper: INACTIVE - http://mzl.la/ghe-archive - A Firefox add-on to ea ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

mozilla/adbhelper

开源软件地址:

https://github.com/mozilla/adbhelper

开源编程语言:

JavaScript 95.5%

开源软件介绍:

A Firefox add-on to ease connecting to Firefox for Android.

Add-on license: http://www.mozilla.org/MPL/

ADB license: http://www.apache.org/licenses/LICENSE-2.0.html

ADB source code: https://android.googlesource.com/platform/system/core/+/master/adb

Building

To build the add-on, run make from the root folder of your clone.

This will package the add-on for various operating systems:

  • adbhelper-X.Y.Z-linux.xpi
  • adbhelper-X.Y.Z-linux64.xpi
  • adbhelper-X.Y.Z-mac64.xpi
  • adbhelper-X.Y.Z-win32.xpi

Testing

Prerequisite: Firefox for Android

You need a Firefox for Android to connect to.

If you are already setup to build Firefox and don't want to use a real device, the easiest way is to use an Artifact Build for Firefox for Android. See the documentation on MDN.

Once you have Firefox for Android running in a simulator, go to Settings > Advanced and turn on Remote Debugging via USB in the DevTools section.

If you prefer to use a real device, refer to the documentation on MDN for USB Debugging.

You are now ready to test ADB Helper.

Test a local build of ADB Helper

Only Firefox Nightly allows to load unsigned extensions, so make sure to use this distribution channel.

In about:config, turn the following preferences:

  • xpinstall.signatures.required should be set to false
  • extensions.legacy.enabled should be set to true

Drag and drop the xpi file for your current operating system to your browser window. You will get a prompt about installing adbhelper.

Open WebIDE (Shift+F8). You should see your Firefox for Android runtime listed under "USB Devices".




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap