-
Notifications
You must be signed in to change notification settings - Fork 23
Build for Android
Marcus Hudritsch edited this page Feb 15, 2017
·
51 revisions
- Download Android Studio for your platform
- Install with all options left as default.
- Remember where the Android SDK gets installed (e.g. c:\Users???\AppData\Local\Android\sdk)
- Startup Android studio and choose Import project (Eclipse ADT, Gradle, etc.)
- Choose the build.gradle file in the folder app-Demo-Android
- The SLProject demo app targets the Android SDK 24 (= Android 6.0)
- If not installed the IDE gives you a link for all missing SDK versions.
- Click on it to install it.
- The SLProject uses the Android NDK (native development kit).
- Open the SDK manager with Tools > Android > SDK Manager
- Select the tab SDK Tools
- Check the NDK option and click Apply
- The SLProject C++ library is configured with cmake in the CMakeList.txt file.
- Install cmake if the IDE states it as missing.
- Build the project with Hammer button or with Build > Make Project (Ctrl-F9)