Update doc for Android building ?
julien2412
serval2412 at yahoo.fr
Tue Aug 15 17:17:59 UTC 2017
Hi,
Just for curiosity, I wanted to try Android building. So I started with
https://wiki.documentfoundation.org/Development/BuildingForAndroid#How_to_build_it
I downloaded NDK then tried SDK. Since for the last one, the url proposed
only Android Studio, I had to launch Android Studio and its configuration to
retrieve SDK (see my change in wiki page).
After having runned ./autogen.sh without problem (once I installed Python
headers lib because --enable-python=fully-internal doesn't help here), I had
this error:
/home/julien/lo/libo_backport/workdir/UnpackedTarball/owncloud_android_lib/build.xml:90:
Cannot find
/home/julien/lo/libo_backport/external/android-sdk-linux/tools/ant/build.xml
imported from
/home/julien/lo/libo_backport/workdir/UnpackedTarball/owncloud_android_lib/build.xml
Total time: 1 second
/home/julien/lo/libo_backport/external/owncloud-android-lib/ExternalProject_owncloud_android_lib.mk:17:
recipe for target
'/home/julien/lo/libo_backport/workdir/ExternalProject/owncloud_android_lib/build'
failed
I found this thread about this:
https://stackoverflow.com/questions/42912824/the-ant-folder-is-suddenly-missing-from-android-sdk-did-google-remove-it
but after having retrieved an sdk from
https://dl.google.com/android/repository/tools_r25.2.5-linux.zip, I had
this:
[taskdef] Could not load definitions from resource anttasks.properties. It
could not be found.
[taskdef] Could not load definitions from resource emma_ant.properties. It
could not be found.
BUILD FAILED
/home/julien/lo/libo_backport/external/android-sdk-linux/tools/ant/build.xml:1109:
Problem: failed to create task or type xpath
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Total time: 0 seconds
/home/julien/lo/libo_backport/external/owncloud-android-lib/ExternalProject_owncloud_android_lib.mk:17:
recipe for target
'/home/julien/lo/libo_backport/workdir/ExternalProject/owncloud_android_lib/build'
failed
make[1]: ***
[/home/julien/lo/libo_backport/workdir/ExternalProject/owncloud_android_lib/build]
Error 1
In the meantime, it seems "sdkmanager" is preferred to android update.
Julien
--
View this message in context: http://nabble.documentfoundation.org/Update-doc-for-Android-building-tp4220627.html
Sent from the Dev mailing list archive at Nabble.com.
More information about the LibreOffice
mailing list