mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-25 14:54:19 +03:00
Update the android version for SDL3-3.4.18
Also change minSdkVersion to 28 and enable WRITE_EXTERNAL_STORAGE permission in AndroidManifest.xml, so the build works for Android 9.
This commit is contained in:
1 parent
600d87fe4b
commit
26e3205b8a
6 files changed
+9
-18
No files matched your search
@@ -9,21 +9,12 @@ general).
|
||||
How to Build
|
||||
------------
|
||||
|
||||
The recommended way is to install Android Studio and Maven. These instructions are for
|
||||
SDL 2.30.8; adapt your SDL version accordingly.
|
||||
The recommended way is to install Android Studio. These instructions are for
|
||||
SDL 3.4.18; 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. Obtain the SDL 2.30.8 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.30.8 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.30.8/SDL2-2.30.8.aar
|
||||
-DpomFile=build-android-prefab/prefab-2.30.8/SDL2-2.30.8.pom` to install it to
|
||||
Maven Local.
|
||||
|
||||
2. Place a copy of `SDL3-3.4.18.aar` in `desktop_version/VVVVVV-android/app/libs/`. It can be download from https://github.com/libsdl-org/SDL/releases/download/release-3.4.18/SDL3-devel-3.4.18-android.zip
|
||||
3. Open the `desktop_version/VVVVVV-android/` folder in Android Studio.
|
||||
4. Click 'Build'.
|
||||
|
||||
|
||||
Reference in new issue
Block a user