Changes

Jump to: navigation, search

Mobile/Fennec/Android

446 bytes added, 23:12, 30 November 2015
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.
./mach package
./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>.
6
edits

Navigation menu