如何在Firefox上安装打包应用程序的移动? [英] How to install packaged app on Firefox for mobile?
问题描述
的如何上的Fennec测试安装封装(ZIP)的应用程序?的
设备:物理Android手机或Android模拟器,我不在乎
Device: Physical Android phone or Android emulator, I don't care.
推荐答案
npm install -g mozilla-apk-cli
使用它来生成调试的APK为您的应用程序,无论是从源目录或网址的小清单:
Use it to generate a "debuggable" APK for your app from either a source directory or a URL to the mini-manifest:
mozilla-apk-cli /path/to/source/dir/ arbitrary-name.apk
mozilla-apk-cli http://example.com/path/to/mini/manifest.webapp arbitrary-name.apk
(按滑鼠右键>在卖场的自由按钮,检查元素,以发现在卖场中的应用迷你清单网址。)
(Context-click > Inspect Element on the "Free" button in Marketplace to discover the mini-manifest URL for an app in the Marketplace.)
在Android设备上安装APK:
Install the APK on your Android device:
adb install -r arbitrary-name.apk
启动设备上的应用程序。看关于哪个端口远程调试服务器监听的通知的通知区域。转发在桌面上,F.E.端口如果端口12345:
Launch the app on the device. Look to the notification area for a notification about which port the remote debugger server is listening on. Forward that port on your desktop, f.e. if the port is 12345:
adb forward tcp:12345 tcp:12345
转到Web开发者>连接...在Firefox在桌面上,并连接在转发端口为localhost。开始调试!
Go to Web Developer > Connect… in Firefox on your desktop and connect to localhost at the forwarded port. Commence debugging!
注:
- 使用每日构建小狐以获得最佳体验的。
- 的Bug 929382 跟踪WebIDE(姓应用程序管理器)的集成。
- 文件错误的问题你遇到!
- Use Nightly builds of Fennec for the best experience.
- Bug 929382 tracks WebIDE (née App Manager) integration.
- File bugs on problems you encounter!
这篇关于如何在Firefox上安装打包应用程序的移动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!