Re: error building libreoffice online android in android studio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread 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.
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux