Building on Linux¶
To build Android apps on Linux, the following dependencies need to be installed:
- Ubuntu 18.04
- OpenJDK 8
- Python 2.7+ (required for Android Studio command-line tool)
- Python 3.4+ (with
- CMake 3.10.2+
- Android Studio (with Android NDK)
If you are not sure whether all of the dependencies listed above are installed, jump to the Dependency Installation Guide for Android on Linux and follow the steps listed there to install them.
Follow these steps to set up Boden for Android development on Ubuntu:
Open up a terminal and clone the git repository:
git clone --recurse-submodules https://github.com/AshampooSystems/boden.git
bodenbuild tool to generate an Xcode project:
cd boden ./boden open -p android -t bodendemo
Wait for Android Studio to finish its gradle sync and configuration, select the
bodendemotarget and press Shift+F10 to build and run the example application.
If Android Studio displays an error stating that permission to
/dev/kvm is denied, make sure that you have added your user to the
Continue to Your first Boden application to learn how to create your first Boden app.
Please let us know. We're happy to help!