doc: use testspriteminimal instead of testgles in android example
Some checks are pending
Build (All) / Create test plan (push) Waiting to run
Build (All) / level1 (push) Blocked by required conditions
Build (All) / level2 (push) Blocked by required conditions

testgles depends on SDL_test so would need ../src/test/*.c as an additonal argument.

(cherry picked from commit da8aa39222)
This commit is contained in:
Anonymous Maarten 2026-06-16 10:55:55 +02:00 committed by Sam Lantinga
parent 7879d0b7b3
commit f7aeabb980

View file

@ -49,10 +49,10 @@ There's two ways of using it:
sources.list should be a text file with a source file name in each line
Filenames should be specified relative to the current directory, for example if
you are in the build-scripts directory and want to create the testgles.c test, you'll
you are in the build-scripts directory and want to create the testspriteminimal.c test, you'll
run:
./create-android-project.py org.libsdl.testgles ../test/testgles.c
./create-android-project.py org.libsdl.testspriteminimal ../test/testspriteminimal.c ../test/icon.h
One limitation of this script is that all sources provided will be aggregated into
a single directory, thus all your source files should have a unique name.
@ -61,6 +61,9 @@ Once the project is complete the script will tell you how to build the project.
If you want to create a signed release APK, you can use the project created by this
utility to generate it.
If you see link errors about missing `SDLTest_*` symbols,
you need to add `../src/test/*.c` as an extra argument to `create-android-project.py`.
Running the script with `--help` will list all available options, and their purposes.
Finally, a word of caution: re running create-android-project.py wipes any changes you may have