6
edits
(→Preparing a Fennec mozconfig: the android-toolchain option doesn't appear to be necessary) |
Alex johnson (talk | contribs) (There was an issue with some people's build script not seeing the mozconfig and trying to build desktop. I just added that you can export the MOZCONFIG environment variable to fix that issue.) |
||
Line 66: | Line 66: | ||
./mach package | ./mach package | ||
./mach install | ./mach install | ||
During <tt>./mach build</tt> if you get an error that looks like this: <tt>mozilla-central/obj-x86_64-unknown-linux-gnu/Makefile Error 2</tt>, it means you're trying to build for Desktop, the reason might be that the build script can't see your mozconfig file. You can fix this by running <tt>|mach build|</tt> again after exporting a <tt>MOZCONFIG</tt> environment variable. | |||
export MOZCONFIG=/path/to/mozilla-central/mozconfig | |||
./mach build | |||
The APK file can be found in your <tt>objdir-droid/dist</tt> folder, and will be called something like <tt>fennec-28.0a1.en-US.android-arm.apk</tt>. You can install this APK to your device manually using <tt>adb install</tt> or <tt>./mach install</tt>. | The APK file can be found in your <tt>objdir-droid/dist</tt> folder, and will be called something like <tt>fennec-28.0a1.en-US.android-arm.apk</tt>. You can install this APK to your device manually using <tt>adb install</tt> or <tt>./mach install</tt>. |
edits