Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


On 10/02/2020 08.15, Michael Weghorn wrote:
[...]
'# ARM Android
--with-distro=LibreOfficeAndroid
--with-distro=LibreOfficeAndroidX86
# or Android x86 ( preferable if using an AVD Emulator )
--with-android-sdk=/home/rutuja/Android/Sdk
--with-android-ndk=/home/rutuja/Android/Sdk/ndk-bundle  

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
('--with-distro=LibreOfficeAndroidX86').

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:
'/home/rutuja/libreoffice/android/source/jniLibs/armeabi-v7a/liblo-native-code.so',
needed by
'/home/rutuja/online/android/lib/src/main/cpp/lib/armeabi-v7a/liblo-native-code.so',

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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.