Added INTRO-androidstudio.md

This commit is contained in:
Sam Lantinga 2025-01-13 14:35:52 -08:00
parent e4e76ac72e
commit 6bc7e88ca6
2 changed files with 14 additions and 1 deletions

View file

@ -4,7 +4,7 @@ SDL supports a number of development environments:
- [CMake](docs/INTRO-cmake.md)
- [Visual Studio on Windows](docs/INTRO-visualstudio.md)
- [Xcode on Apple platforms](docs/INTRO-xcode.md)
- [Android](docs/INTRO-android.md)
- [Android Studio](docs/INTRO-androidstudio.md)
- [Emscripten for web](docs/INTRO-emscripten.md)
SDL is also usable in other environments. The basic steps are to use CMake to build the library and then use the headers and library that you built in your project. You can search online to see if anyone has specific steps for your setup.

View file

@ -0,0 +1,13 @@
# Introduction to SDL with Android Studio
We'll start by creating a simple project to build and run [hello.c](hello.c)
- Use our handy script to create a template project:
```sh
./build-scripts/create-android-project.py org.libsdl.hello docs/hello.c
```
- Run Android Studio and open the newly created build/org.libsdl.hello directory
- Build and run!
Additional information and troubleshooting is available in [README-android.md](README-android.md)