DiligentGraphics / DiligentEngine

A modern cross-platform low-level graphics library and rendering framework
http://diligentgraphics.com/diligent-engine/
Apache License 2.0
3.45k stars 322 forks source link

Publish documentation of command line android build of SDK and Samples #42

Open truedat101 opened 5 years ago

truedat101 commented 5 years ago

Ideally, users of Android could build from the command line, assuming necessary components are installed from the SDk. It would be great to have the gradle commands documented to build specific projects and also necessary commands install install/run/debug. Possibly related to #41. I've done this for other projects, specifically figured it out for the messy Oculus Android SDK (a monolithic Android SDK/examplewad that cannot be separated). I'll poke around around on this to see if I can tease out the commands from the ./gradlew step to bootstrap and the available commands. This assumes too a few pre-reqs: NDK, android SDK tools, android SDK API versions (what is min needed, what is target), any hardware support needed (I think this is posted somewhere in the root level docs), and Java tools that should be in place (openjdk version).

TheMostDiligent commented 3 years ago

We now have the command-line build set up. The build runs on every commit as part of CI https://github.com/DiligentGraphics/DiligentEngine/actions/workflows/android.yml