Android Build Error at ./autogen.sh

Christian Lohmaier lohmaier at googlemail.com
Mon Nov 12 17:41:01 UTC 2018


Hi *,
On Mon, Nov 12, 2018 at 4:22 PM ツ <brendajerop2 at gmail.com> wrote:
>
> I'm trying to build the Android version of LibreOffice but I get the
> following error when running ./autogen.sh :
>
> "configure: error: Unrecognized Android NDK. Missing RELEASE.TXT or
> source.properties file in ~/home/brenda/Android/Sdk/ndk-bundle/.
> Error running configure at ./autogen.sh line 296."
>
> I have updated my autogen.input to reflect the correct SDK and NDK path.
> I have also checked the ndk-bundle folder and source.properties file
> exists. I'm using ndk revision 18.
>
> Does anyone have any suggestions as to how I can solve this?

The check fails because it checks for
"$ANDROID_NDK_HOME/platforms/android-${ANDROID_API_LEVEL}/arch-${ANDROID_ARCH}/usr/lib/libc.a"

api-level is set to 14 currently - but NDK 18 dropped support for
anything older than 16.

→ So change it to  ANDROID_API_LEVEL=16 in configure.ac

(not that you'll also need to adjust android/source/build.gradle and
external/owncloud-android-lib/build.gradle accordingly)

ciao
Christian


More information about the LibreOffice mailing list