issue build andriod firfox on win10 pro

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Post Reply
jomart
Posts: 1
Joined: October 19th, 2018, 7:09 am

issue build andriod firfox on win10 pro

Post by jomart »

hi i need help ,
i follow the instruction provided in Mozilla website for android :
https://developer.mozilla.org/en-US/doc ... roid_build

i installed Visual Studio 2017,rust, Mozilla-build,android studio,
and open shell command and clone :
then create mozconfig.file in mozilla-central directory contain this:
# My first mozilla config

# Build Firefox for Android:
ac_add_options --enable-application=mobile/android
ac_add_options --target=arm-linux-androideabi

# With the following Android SDK:
ac_add_options --with-android-sdk="D:/Android/Android/sdk"

# Enable artifact building:
ac_add_options --enable-artifact-builds

# Write build artifacts to:
mk_add_options MOZ_OBJDIR=./objdir-frontend
then add to shell:
./mach bootstrap
and follow the instruction and choose build artifact android number 3 then iget this error :
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

NotImplementedError: mozboot.base does not yet implement suggest_mobile_android_artifact_mode_mozconfig()

File "d:\Android\mozilla-build\mozilla-source\mozilla-central\python/mozboot/mozboot/mach_commands.py", line 38, in bootstrap
bootstrapper.bootstrap()
File "d:\Android\mozilla-build\mozilla-source\mozilla-central\python/mozboot\mozboot\bootstrap.py", line 448, in bootstrap
getattr(self.instance, 'suggest_%s_mozconfig' % application)()
File "d:\Android\mozilla-build\mozilla-source\mozilla-central\python/mozboot\mozboot\base.py", line 254, in suggest_mobile_android_artifact_mode_mozconfig
% __name__)
what wrong i did can someone tell me is mozconfig wrong ?
kbrosnan
Posts: 520
Joined: October 23rd, 2003, 8:32 pm

Re: issue build andriod firfox on win10 pro

Post by kbrosnan »

Firefox for Android cannot be built on Windows. You must use Linux or OS X.
Post Reply