diff --git a/desktop_version/VVVVVV-android/README.md b/desktop_version/VVVVVV-android/README.md index 61518043..46b6d401 100644 --- a/desktop_version/VVVVVV-android/README.md +++ b/desktop_version/VVVVVV-android/README.md @@ -9,12 +9,21 @@ general). How to Build ------------ -The recommended way is to install Android Studio. +The recommended way is to install Android Studio and Maven. These instructions are for +SDL 2.28.5; adapt your SDL version accordingly. 1. Place a copy of `data.zip` in `desktop_version/VVVVVV-android/app/src/main/assets/`. (If the `assets/` folder doesn't exist, then create it.) -2. Clone the SDL repository and place it next to where you've cloned the VVVVVV - repository. Make sure to check out SDL 2 and not the latest as of writing (SDL 3). +2. Obtain the SDL 2.28.5 Maven package. As of writing, SDL currently does not publish + Maven packages, so here is one way to obtain them (other methods are possible): + + 1. Download the SDL 2.28.5 source code. + 2. Run the `build-scripts/android-prefab.sh` script in the SDL repository. + 3. After building, run `mvn install:install-file + -Dfile=build-android-prefab/prefab-2.28.5/SDL2-2.28.5.aar + -DpomFile=build-android-prefab/prefab-2.28.5/SDL2-2.28.5.pom` to install it to + Maven Local. + 3. Open the `desktop_version/VVVVVV-android/` folder in Android Studio. 4. Click 'Build'.