| Summary: | Android Studio gradle project | ||
|---|---|---|---|
| Product: | SDL | Reporter: | tower120 |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | fnwinter, sylvain.becker, tower120 |
| Version: | 2.0.5 | ||
| Hardware: | All | ||
| OS: | Android (All) | ||
| Attachments: | Android studio minimal project | ||
I had a same issue about android project. Because ant build is now deprecated from android-studio. so we should move the build system from ant to gradle. now it's difficult to find sdk tool which includes ant build and build.xml. I made similar patch for this issue. please check this commit. https://github.com/fnwinter/SDL/commit/4b3be9aa4131566e85919609d77d1bb303b049da this commit includes the modification with androidbuild.sh. the usage of the script is almost same before. |
Created attachment 2648 [details] Android studio minimal project I saw that your current setup lacks Android studio project. Unfortunately Studio doesn’t export Eclipse project (from your setup) correctly. So... I attached Android Studio project (same as your android-project). Just unzip your SDL to app\src\main\cpp. P.S. I was unable to make it work with cmake, so it is ndk-build based.