Home

Awesome

Android Port of LÖVE, an awesome 2D game engine for Lua (http://love2d.org)
Copyright (c) 2006-2020 LOVE Development Team

Download:

You can download pre-built Android packages from https://github.com/love2d/love/releases/latest that allow you to run .love files by opening them using a file manager of your choice.

Important:

If you want to build from source, make sure to clone the submodules too. Often errors include missing liblove.so and "Missing LÖVE" error when building. A proper way to clone this repository is:

git clone --recurse-submodules https://github.com/love2d/love-android

Add -b <branch/tag name> and --depth 1 if needed.

If you already cloned the repository but forgot to initialize the submodules, execute:

git submodule sync --recursive
git submodule update --init --force --recursive

In the repository directory. For the last command, add --depth 1 if needed.

Instructions:

Detailed instructions can be viewed at https://github.com/love2d/love-android/wiki

Quick Start:

Before you start, install JDK 11 or later. If you intend to build from Android Studio, skip this step as Android Studio bundles its own JDK 11.

Install Android SDK with SDK API 30 and Android NDK 21.3.6528147, set the environment variables:

(you may have to adjust the paths to the install directories of the Android SDK on your system) and run

$ ./gradlew assembleNormal

in the root folder of this project. This should give you a .apk file in the app/build/outputs/apk/normal subdirectory that you can then sign and install on your phone. The normal .apk flavor is what you normally have when downloading one from love2d.org.

If you want to put your game inside the APK, put your zipped *.love in app/src/main/assets with name game.love then change the package name, application display name, and the icons. Afterwards, run either gradlew assembleEmbedRelease to generate APK which you can install or gradlew bundleEmbedRelease which you can upload to Play Store.

Alternatively, you can install Android Studio 2020.3.1 or later. After opening it for the first time, open it's SDK Manager and on the tab "SDK Tools", tick "Show Package Details" then select NDK (Side By Side) version 21.3.6528147. After that, open the repository root.

Notice: Previously, the embed + APKTool method is preferred, but recent announcements by Google render that method obsolete.

Bugs:

Bugs and/or feature requests should be reported to the issue tracker at:

Changelog:

11.3:

11.2:

0.10.2:

0.10.1:

0.10.0:

0.10.0-alpha2:

0.9.2a:

0.9.2:

0.9.1b:

0.9.1a:

0.9.1:

beta2:

beta1:

alpha9:

alpha8:

alpha7:

License:

This project contains code from multiple projects using various licenses. Please look at LOVE license.txt for the respective licenses.