I've gone back to revise the Android setup instructions. While most of it is still very relevant, but with SDK changes, and changes to Android Studio, the tutorials need rethinking.
Now while I wrote much of the newer material, going back to it, I was really going through the motions and there are some steps that did not make sense to me. Even though they were needed to get the orx library and demo projects compiled, I did not explain what the effect of those steps were.
The document I want to review is: http://orx-project.org/wiki/en/tutorials/setup_android
So if anyone with experience on the android can side can help with some questions to get me started:
- What is the difference between Android and Android-Native? My understanding is that "native" applications are c++ and therefore require ndk-build. Yet the non-native one uses ndk-build does too. I don't understand the difference in that case. If there is minimal difference in the two project types, do they actually follow the same set of instructions?
- The Orx android demo seems to be configured for SDK 25 according to their files. The latest Android Studio ships with SDK 28 and will not compile for a number of reasons. I assume the files must be altered by hand each time when a user installs Studio with a later version of the SDK. Installing the SDK seems to have helped with compiling, but there are other errors. Will deal with these in later posts.
- There is a project to build the orx library at: /orx/code/build/android. So what is the one at: /orx/extern/android for?
- When compiling the orx library using ndk-build command, and then using the install.bat to move them to the /orx/code/lib/static/android folder... why is there a later step of running "3. Import Orx Library project into Android Studio." in the above document? What does this step do with the already compiled orx library?