mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 09:39:43 +01:00
Android: Update README.md
for Maven package
Since #1047 was merged, we now make the user build the SDL prefab themselves (as SDL does not publish Maven packages yet). Here are some instructions for doing that.
This commit is contained in:
parent
ca71410f14
commit
0a72cc6614
1 changed files with 12 additions and 3 deletions
|
@ -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'.
|
||||
|
||||
|
|
Loading…
Reference in a new issue