error building libreoffice online android in android studio
m.weghorn at posteo.de
Mon Feb 10 07:28:36 UTC 2020
On 10/02/2020 08.15, Michael Weghorn wrote:
>> '# ARM Android
>> # or Android x86 ( preferable if using an AVD Emulator )
> While that should be unrelated to your build failure, there is meant to
> be only one 'with-distro=...' parameter, since the latter will overwrite
> the former otherwise. So you should just have one of those, depending on
> whether you want to build for the ARM architecture
> ('--with-distro=LibreOfficeAndroid') or x86
Looking at it again, this IS related to your build failure.
With this autogen.input file, the core git repo is built for x86, while
> ninja: error:
> needed by
shows that your build from Android Studio wants to have the ARM library.
So if you want to build for ARM, you probably just have to remove the
'--with-distro=LibreOfficeAndroidX86' line from your autogen.input,
rebuild the core part ("make clean && ./autogen.sh && make") and try again.
More information about the LibreOffice