编译 Firefox的官方link在 https://wiki.mozilla.org/Mobile/Fennec/Android, 我只是记录下实践过程而已
Linux 下的 Firefox 是用gcc/g++ 基于glibc编译的
编译Android 下的 Firefox 需要使用 Android SDK 和Android NDK
Android 的 SDK/NDK tools 使用了32 libs, 所以在 64位 Linux下,还要安装若干32位的libs
If you're using a 64-bit Linux, you'll need to install 32 bit libs to allow the toolchain binaries to run. Otherwise you may get a "bash: file not found" error when trying to use any of the SDK/NDK tools.
确保 java javac都是1.7, 我的版本不一致,就遇到问题了
对于Android SDK的要求
Members of the Fennec team are successfully building Fennec with SDK Build Tools version 21, SDK Platform Tools 21, and Android SDK Tools 23.0.5. You will also need the "Android Support Library" and

本文详细记录了在Linux环境下编译Firefox Fennec for Android的过程,包括需要的Android SDK、NDK版本,以及在64位系统中安装32位库的需求。编译时需确保Java版本为1.7,并设置好.mozconfig文件。使用.mozconfig指定Android NDK和SDK路径,然后通过运行`./mach build`和`./mach package`来编译和生成APK。当编译成功,系统显示'Your build was successful!'即完成。
最低0.47元/天 解锁文章
1115

被折叠的 条评论
为什么被折叠?



