User:Hossein/Build/androidarm64

This manual is for building LibreOffice for Android using ARM64. If this does match your platform, please refer to the development page on Wiki to find the correct build instructions.

LibreOffice Versions
This manual is written for the LibreOffice Dev 7.4, which is the latest git master.

Installing the Android SDK
One of the simplest way to obtain Android SDK is to use the Android Command Line Tools and use the  to install an SDK.

After extracting the command line tools in, you can to to that folder and invoke:

Then, use this command to download platform SDK, NDK and other needed packages:

It is also possible to download SDK and NDK from the Android studio website instead of the above method.

Cloning and building
The build instructions are very similar to the normal How To Build instructions.

We develop on Linux as the host environment. Windows is not supported. When you have the NDK and SDK, clone the git repo:

Create your, so that it looks like (please use full path instead of ~):

Configure (and install packages as needed) and build

How to run it
The apk file for Android will be available in  folder. You can install the .apk to the emulator or a physical device.

More information
More information about the development can be found in:


 * Cross-compiling README
 * Android development README

Using LibreOffice with an IDE
An integrated development environment (IDE) helps developers to have a better coding experience. Considering the fact that LibreOffice has a very large code base, you may use an IDE to simplify coding, building and debugging LibreOffice. You can use several IDEs to work on LibreOffice, including Visual Studio Code, Qt Creator, KDevelop, Vim, Eclipse CDT and several others.

You can refer to the wiki article Development/IDE to understand how to use IDEs.