瀏覽代碼

Added INTRO-androidstudio.md

Sam Lantinga 3 月之前
父節點
當前提交
6bc7e88ca6
共有 2 個文件被更改,包括 14 次插入1 次删除
  1. 1 1
      INSTALL.md
  2. 13 0
      docs/INTRO-androidstudio.md

+ 1 - 1
INSTALL.md

@@ -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.

+ 13 - 0
docs/INTRO-androidstudio.md

@@ -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)