소스 검색

Added INTRO-androidstudio.md

Sam Lantinga 1 년 전
부모
커밋
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)
 - [CMake](docs/INTRO-cmake.md)
 - [Visual Studio on Windows](docs/INTRO-visualstudio.md)
 - [Visual Studio on Windows](docs/INTRO-visualstudio.md)
 - [Xcode on Apple platforms](docs/INTRO-xcode.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)
 - [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.
 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)