

for Chromebooks: # checkout the 1.10.1 in yet another location If you want to add the support for that into the APK too eg. PATH="$PATH":~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin make -j8 ANDROID_ABI=arm64-v8a CC=aarch64-linux-android21-clang CXX=aarch64-linux-android21-clang++ SYSLIBS=-static-libstdc++ install INSTALLDIR=/opt/poco-android-64bit

PATH="$PATH":~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin make -j8 ANDROID_ABI=arm64-v8a CC=aarch64-linux-android21-clang CXX=aarch64-linux-android21-clang++ SYSLIBS=-static-libstdc++ +++ -21,6 +21,9 TOOL = arm-linux-androideabiĪRCHFLAGS = -march=armv7-a -mfloat-abi=softfpĪRCHFLAGS = -march=i686 -msse3 -mstackrealign -29,6 +32,7 $(error Invalid ABI specified in ANDROID_ABI) PATH="$PATH":~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin make -j8 ANDROID_ABI=armeabi-v7a CC=armv7a-linux-androideabi21-clang CXX=armv7a-linux-androideabi21-clang++ SYSLIBS=-static-libstdc++ install INSTALLDIR=/opt/poco-androidīuild the ARM64 version of POCO if you want to include ARM64 in the APK too: # checkout the 1.10.1 in a different location and apply the following patch: PATH="$PATH":~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin make -j8 ANDROID_ABI=armeabi-v7a CC=armv7a-linux-androideabi21-clang CXX=armv7a-linux-androideabi21-clang++ SYSLIBS=-static-libstdc++ configure -config=Android -no-samples -no-tests -omit=Crypto,NetSSL_OpenSSL,Zip,Data,Data/SQLite,Data/ODBC,Data/MySQL,MongoDB,PDF,CppParser,PageCompiler,JWT autogen.sh & make Build the POCO for Android # clone the poco repository in the same folder where LibreOffice core and online folders are placed. with-android-sdk=/home/$USER/Android/Sdk with-android-ndk=/home/$USER/Android/Sdk/ndk-bundle Build LibreOffice master for AndroidĬreate a file called autogen.input in your LibreOffice clone with theįollowing content: -build=x86_64-unknown-linux-gnu For development, just one of them is enough, the buildĬurrently defaults to ARM.

If you want to build the full app, you need to build for 4 platforms: ARM,ĪRM64, x86 and x86-64. The following projects, cross-compiled to your target platform: Similarly to the normal CODE, you will need The development of the Android app has to be done on Linux, it’s currently not possible toīuild the native parts on Windows. Head over documentation or start of by following these step-by-step instructions and build CODE from scratch: Are you familiar with Android development environment and interested to learn more while helping the project?
