I didn’t have any problems getting Android checked off in the Setup Assistant. However, when I attempted to create a test project, I did run into filepath problems. I’m still working my way through the documentation in an attempt to get this working.
My configuration information:
Third-party location: F:/Programs/Lumberyard/22.214.171.124/3rdParty
Capabilities available, [x] enabled - [ ] disabled:
[X] rungame - Run your game project
[X] runeditor - Run the Lumberyard Editor and tools
[X] compilegame - Compile the game code
[ ] compileengine - Compile the engine and asset pipeline
[ ] compilesandbox - Compile the Lumberyard Editor and tools
[X] compileandroid - Compile for Android devices
[ ] setuplinux - Setup for Linux Dedicated Server
Compilers available, [x] enabled - [ ] disabled:
[ ] vc120 - Visual Studio 2013
[X] vc140 - Visual Studio 2015
The filepaths for both ‘android-ndk-r16b’ and ‘sdk-tools-windows-3859397’ look correct. Initially I used the full names for those directories. I haven’t checked to see if the filepath length is a problem in this case. However, I did shorten the directory names to the following . . .
Location of the Android files:
F:/Programs > Lumberyard > 126.96.36.199 > 3rdParty > Android
Initially there was a problem finding the ‘platforms’ directory.
File “Tools/build/waf-1.7.13/lmbrwaflib\android.py”, line 352, in configure installed_sdk_versions = os.listdir(os.path.join(sdk_root, ‘platforms’)) WindowsError: [Error 3] The system cannot find the path specified: ‘F:/Programs/Lumberyard/188.8.131.52/3rdParty/Android/sdk-tools\platforms/.’ Process failed with return code: 1
I didn’t find a ‘platforms’ directory anywhere in ‘sdk-tools-windows-3859397’, but there is one in ‘android-ndk-r16b’. I copied the ‘platforms’ directory from ‘android-ndk-r16b’ to ‘sdk-tools-windows-3859397’, which may have solved that problem. However, I then had the following filepath error:
File “Tools/build/waf-1.7.13/lmbrwaflib\android.py”, line 424, in configure build_tools_dir_contents = os.listdir(build_tools_dir) WindowsError: [Error 3] The system cannot find the path specified: ‘F:/Programs/Lumberyard/184.108.40.206/3rdParty/Android/sdk-tools\build-tools/.’ Process failed with return code: 1
There is a ‘tools’ directory in the ‘sdk-tools-windows-3859397’ folder and there is a ‘build’ directory in the ‘android-ndk-r16b’ folder. Unfortunately, I didn’t find a ‘build-tools’ directory anywhere. I like to think this is an easy fix; just a matter of finding out the correct directory names/locations for everything. I’ll keep digging, but any suggestions or help would be welcome.